@@ -107,48 +107,40 @@ MSI installers are available for download on the [releases page][].
107107
108108### Debian/Ubuntu Linux
109109
110- Install and upgrade:
111-
112- 1 . Download the ` .deb ` file from the [ releases page] [ ] ;
113- 2 . Install the downloaded file: ` sudo apt install ./gh_*_linux_amd64.deb `
114-
115- ### Fedora Linux
116-
117- Install and upgrade:
118-
119- 1 . Download the ` .rpm ` file from the [ releases page] [ ] ;
120- 2 . Install the downloaded file: ` sudo dnf install gh_*_linux_amd64.rpm `
121-
122- ### Centos Linux
123-
124- Install and upgrade:
125-
126- 1 . Download the ` .rpm ` file from the [ releases page] [ ] ;
127- 2 . Install the downloaded file: ` sudo yum localinstall gh_*_linux_amd64.rpm `
110+ Install:
128111
129- ### openSUSE/SUSE Linux
112+ ``` bash
113+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
114+ sudo apt-add-repository -u https://cli.github.com/packages
115+ sudo apt install gh
116+ ```
130117
131- Install and upgrade :
118+ Upgrade :
132119
133- 1 . Download the ` .rpm ` file from the [ releases page] [ ] ;
134- 2 . Install the downloaded file: ` sudo zypper in gh_*_linux_amd64.rpm `
120+ ```
121+ sudo apt update
122+ sudo apt install gh
123+ ```
135124
136- ### Arch Linux
125+ ### Fedora, Centos, Red Hat Linux
137126
138- Arch Linux users can install from the [ community repo ] [ arch linux repo ] :
127+ Install :
139128
140129``` bash
141- pacman -S github-cli
130+ sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
131+ sudo dnf install gh
142132```
143133
144- ### Android
145-
146- Android users can install via Termux:
134+ Upgrade:
147135
148136``` bash
149- pkg install gh
137+ sudo dnf install gh
150138```
151139
140+ ### Other Linux
141+
142+ See [ Linux installation docs] ( /docs/install_linux.md )
143+
152144### Other platforms
153145
154146Download packaged binaries from the [ releases page] [ ] .
@@ -164,5 +156,4 @@ See here on how to [build GitHub CLI from source][build from source].
164156[ hub ] : https://github.com/github/hub
165157[ contributing page ] : https://github.com/cli/cli/blob/trunk/.github/CONTRIBUTING.md
166158[ gh-vs-hub ] : /docs/gh-vs-hub.md
167- [ arch linux repo ] : https://www.archlinux.org/packages/community/x86_64/github-cli
168159[ build from source ] : /docs/source.md
0 commit comments