Skip to content

Commit ae3e033

Browse files
authored
Merge pull request cli#298 from cli/scoop
scoop config for gh
2 parents c03b0d1 + 966168e commit ae3e033

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

.goreleaser.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,14 @@ nfpms:
7777
formats:
7878
- deb
7979
- rpm
80+
81+
scoop:
82+
bucket:
83+
owner: cli
84+
name: scoop-gh
85+
commit_author:
86+
name: vilmibm
87+
email: vilmibm@github.com
88+
homepage: https://github.com/cli/cli
89+
description: GitHub CLI
90+
license: MIT

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,40 @@ 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+
39+
Upgrade: `brew update && brew upgrade gh`
3840

3941
### Windows
4042

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

4356
### Debian/Ubuntu Linux
4457

58+
Install and upgrade:
59+
4560
1. Download the `.deb` file from the [releases page][]
4661
2. `sudo apt install git && sudo dpkg -i gh_*_linux_amd64.deb` install the downloaded file
4762

4863
### Fedora/Centos Linux
4964

65+
Install and upgrade:
66+
5067
1. Download the `.rpm` file from the [releases page][]
5168
2. `sudo yum localinstall gh_*_linux_amd64.rpm` install the downloaded file
5269

@@ -57,6 +74,7 @@ project directory.
5774

5875
<!-- TODO eventually we'll have https://cli.github.com/manual -->
5976
[docs]: https://cli.github.io/cli/gh
77+
[scoop]: https://scoop.sh
6078
[releases page]: https://github.com/cli/cli/releases/latest
6179
[hub]: https://github.com/github/hub
6280
[contributing page]: https://github.com/cli/cli/blob/master/.github/CONTRIBUTING.md

0 commit comments

Comments
 (0)