From f4b4a4e18f3ab25fde80c1319373e33ca9634f78 Mon Sep 17 00:00:00 2001 From: Hanjingxue Boling <87272716+Hanjingxue-Boling@users.noreply.github.com> Date: Fri, 18 Feb 2022 02:41:26 +0800 Subject: [PATCH] Update installation instructions for Fedora (#5204) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gh-cli has entered fedora's official repository and can be installed directly without adding a third-party repository. Co-authored-by: Mislav Marohnić --- docs/install_linux.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/install_linux.md b/docs/install_linux.md index b07e2478b..2c3579d65 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -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