From d9d745447b8a6d1219e5f0c2cab661d8522bf74d Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Tue, 26 Nov 2019 11:52:13 -0600 Subject: [PATCH 1/5] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d8e9a6edc..9388f0f4d 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ _warning, gh is in a very alpha phase_ ## Debian/Ubuntu Linux -1. Download the latest `.deb` file from the [releases page](https://github.com/github/gh-cli/releases) +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 _(Uninstall with `sudo apt remove gh`)_ ## Fedora/Centos Linux -1. Download the latest `.rpm` file from the [releases page](https://github.com/github/gh-cli/releases) +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 _(Uninstall with `sudo yum remove gh`)_ @@ -29,8 +29,9 @@ _(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) -2. `tar -xvf gh_0.2.2_linux_amd64.tar.gz`, changing version number accordingly -3. Copy the uncompressed `gh` somewhere on your `$PATH` (e.g. `sudo cp gh /usr/local/bin/`) +2. `tar -xf gh_0.2.2_linux_amd64.tar.gz`, changing version number accordingly +3. `chmod +x gh` ensure the binary is executable +4. Copy the uncompressed `gh` somewhere on your `$PATH` (e.g. `sudo cp gh /usr/local/bin/`) _(Uninstall with `rm`)_ From cce72cc7a42a0647fe0556792091761ddc219cd2 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Wed, 27 Nov 2019 10:35:19 -0600 Subject: [PATCH 2/5] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 9388f0f4d..baa586cdb 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,7 @@ _(Uninstall with `sudo yum remove gh`)_ 1. Download the latest `_linux_amd64.tar.gz` file from the [releases page](https://github.com/github/gh-cli/releases) 2. `tar -xf gh_0.2.2_linux_amd64.tar.gz`, changing version number accordingly -3. `chmod +x gh` ensure the binary is executable -4. Copy the uncompressed `gh` somewhere on your `$PATH` (e.g. `sudo cp gh /usr/local/bin/`) +3. Copy the uncompressed `gh` somewhere on your `$PATH` (e.g. `sudo cp gh /usr/local/bin/`) _(Uninstall with `rm`)_ From c5eba17429eca6da68dd3ce8adc7aa035a2ad8e7 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Wed, 27 Nov 2019 10:35:41 -0600 Subject: [PATCH 3/5] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Mislav Marohnić --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index baa586cdb..5803408c2 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ _(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) -2. `tar -xf gh_0.2.2_linux_amd64.tar.gz`, changing version number accordingly +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/`) _(Uninstall with `rm`)_ From 478d5de9a1f40e86c60bb46b19c013fe61987222 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Wed, 27 Nov 2019 10:45:05 -0600 Subject: [PATCH 4/5] 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/`) From 6777b4f16c6a4d45cfabae0f3eb410ac88645477 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Wed, 27 Nov 2019 10:47:35 -0600 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3deb491a7..036c37b90 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ _(Uninstall with `sudo yum remove gh`)_ 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/`) +3. Copy the uncompressed `gh` somewhere on your `$PATH` (e.g. `sudo cp gh_*_linux_amd64/bin/gh /usr/local/bin/`) _(Uninstall with `rm`)_