From 478d5de9a1f40e86c60bb46b19c013fe61987222 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Wed, 27 Nov 2019 10:45:05 -0600 Subject: [PATCH] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5803408c2..3deb491a7 100644 --- a/README.md +++ b/README.md @@ -14,21 +14,22 @@ _warning, gh is in a very alpha phase_ ## Debian/Ubuntu Linux -1. Download the `.deb` file from the [releases page](https://github.com/github/gh-cli/releases/latest) -2. Install it with `sudo dpkg -i gh_0.2.2_linux_amd64.deb`, changing version number accordingly +1. `sudo apt install git` if you don't already have git +2. Download the `.deb` file from the [releases page](https://github.com/github/gh-cli/releases/latest) +3. `sudo dpkg -i gh_*_linux_amd64.deb` install the downloaded file _(Uninstall with `sudo apt remove gh`)_ ## Fedora/Centos Linux 1. Download the `.rpm` file from the [releases page](https://github.com/github/gh-cli/releases/latest) -2. Install it with `sudo yum localinstall gh_0.2.2_linux_amd64.rpm`, changing version number accordingly +2. `sudo yum localinstall gh_*_linux_amd64.rpm` install the downloaded file _(Uninstall with `sudo yum remove gh`)_ ## Other Linux -1. Download the latest `_linux_amd64.tar.gz` file from the [releases page](https://github.com/github/gh-cli/releases) +1. Download the `_linux_amd64.tar.gz` file from the [releases page](https://github.com/github/gh-cli/releases/latest) 2. `tar -xf gh_*_linux_amd64.tar.gz` 3. Copy the uncompressed `gh` somewhere on your `$PATH` (e.g. `sudo cp gh /usr/local/bin/`)