You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install_linux.md
+3-23Lines changed: 3 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,10 @@ the following CPU architectures: `i386`, `amd64`, `arm64`, `armhf`.
7
7
Other sources for installation are community-maintained and thus might lag behind
8
8
our release schedule.
9
9
10
-
If none of our official binaries, packages, repositories, nor community sources work for you, we recommend using our `Makefile` to build `gh` from source. It's quick and easy.
11
-
12
10
## Official sources
13
11
14
12
### Debian, Ubuntu Linux (apt)
15
13
16
-
:warning: This will only work for the [architectures we officially support](/.goreleaser.yml#L27).
17
-
18
-
The below should work for any debian-based distribution. You can change `stable` to a specific codename [we support](/.github/workflows/releases.yml#L83) if that is your preference.
19
-
20
14
Install:
21
15
22
16
```bash
@@ -26,7 +20,7 @@ sudo apt update
26
20
sudo apt install gh
27
21
```
28
22
29
-
**Note**: If you get _"gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory"_ error, try installing the `dirmngr` package. Run `sudo apt-get install dirmngr` and repeat the steps above.
23
+
**Note**: If you get the error _"gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory"_, try installing the `dirmngr` package: `sudo apt install dirmngr`.
30
24
31
25
Upgrade:
32
26
@@ -72,16 +66,9 @@ sudo zypper update gh
72
66
*[Download release binaries][releases page] that match your platform; or
73
67
*[Build from source](./source.md).
74
68
75
-
### openSUSE/SUSE Linux (zypper)
76
-
77
-
Install and upgrade:
78
-
79
-
1. Download the `.rpm` file from the [releases page][];
80
-
2. Install the downloaded file: `sudo zypper in gh_*_linux_amd64.rpm`
69
+
## Unofficial, community-supported methods
81
70
82
-
## Unofficial, Community-supported methods
83
-
84
-
The core GitHub CLI team does not maintain the following packages or repositories. They are unofficial and we are unable to provide support or guarantees for them. They are linked here as a convenience and their presence does not imply continued oversight from the CLI core team. Users who choose to use them do so at their own risk.
71
+
The GitHub CLI team does not maintain the following packages or repositories and thus we are unable to provide support for those installation methods.
85
72
86
73
### Snap (do not use)
87
74
@@ -105,13 +92,6 @@ Android 7+ users can install via [Termux](https://wiki.termux.com/wiki/Main_Page
105
92
pkg install gh
106
93
```
107
94
108
-
### Homebrew (Linuxbrew)
109
-
110
-
Linuxbrew users can install it as a [brew package](https://formulae.brew.sh/formula/gh#default):
111
-
```bash
112
-
brew install gh
113
-
```
114
-
115
95
### FreeBSD
116
96
117
97
FreeBSD users can install from the [ports collection](https://www.freshports.org/devel/gh/):
0 commit comments