Skip to content

Commit 53b5c22

Browse files
committed
add scoop note to readme as well as upgrade notes
1 parent 0dcec2c commit 53b5c22

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,39 @@ tools bring GitHub to the terminal, `hub` behaves as a proxy to `git` and `gh` i
3030
tool.
3131

3232

33-
## Installation
33+
## Installation and Upgrading
3434

3535
### macOS
3636

37-
`brew install github/gh/gh`
37+
Install: `brew install github/gh/gh`
38+
Upgrade: `brew update && brew upgrade gh`
3839

3940
### Windows
4041

41-
MSI installers are available on the [releases page][].
42+
`gh` is available via [scoop][]:
43+
44+
Install:
45+
46+
```
47+
scoop bucket add github-gh https://github.com/cli/scoop-gh.git
48+
scoop installl gh
49+
```
50+
51+
Upgrade: `scoop update gh`
52+
53+
Signed MSI installers are also available on the [releases page][].
4254

4355
### Debian/Ubuntu Linux
4456

57+
Install and upgrade:
58+
4559
1. Download the `.deb` file from the [releases page][]
4660
2. `sudo apt install git && sudo dpkg -i gh_*_linux_amd64.deb` install the downloaded file
4761

4862
### Fedora/Centos Linux
4963

64+
Install and upgrade:
65+
5066
1. Download the `.rpm` file from the [releases page][]
5167
2. `sudo yum localinstall gh_*_linux_amd64.rpm` install the downloaded file
5268

@@ -57,6 +73,7 @@ project directory.
5773

5874
<!-- TODO eventually we'll have https://cli.github.com/manual -->
5975
[docs]: https://cli.github.io/cli/gh
76+
[scoop]: https://scoop.sh
6077
[releases page]: https://github.com/cli/cli/releases/latest
6178
[hub]: https://github.com/github/hub
6279
[contributing page]: https://github.com/cli/cli/blob/master/.github/CONTRIBUTING.md

0 commit comments

Comments
 (0)