Update installation instructions for Fedora (#5204)
gh-cli has entered fedora's official repository and can be installed directly without adding a third-party repository. Co-authored-by: Mislav Marohnić <mislav@github.com>
This commit is contained in:
parent
c5dbf20ed4
commit
f4b4a4e18f
1 changed files with 7 additions and 1 deletions
|
|
@ -29,13 +29,19 @@ sudo apt install gh
|
|||
|
||||
### Fedora, CentOS, Red Hat Enterprise Linux (dnf)
|
||||
|
||||
Install:
|
||||
Install from our package repository for immediate access to latest releases:
|
||||
|
||||
```bash
|
||||
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
|
||||
sudo dnf install gh
|
||||
```
|
||||
|
||||
Alternatively, install from the [community repository](https://packages.fedoraproject.org/pkgs/gh/gh/):
|
||||
|
||||
```bash
|
||||
sudo dnf install gh
|
||||
```
|
||||
|
||||
Upgrade:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue