Skip to content

Commit f87b684

Browse files
authored
Merge pull request cli#2156 from waldyrious/patch-2
Improve installation instructions in README
2 parents a2aa07d + 10e1c52 commit f87b684

File tree

1 file changed

+14
-20
lines changed

1 file changed

+14
-20
lines changed

README.md

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,40 @@
66

77
## Availability
88

9-
GitHub CLI is available for repositories hosted on GitHub.com and GitHub Enterprise Server 2.20+, and to install on macOS, Windows, and Linux.
10-
9+
GitHub CLI is available for repositories hosted on GitHub.com and GitHub Enterprise Server 2.20+, and to install on macOS, Windows, and Linux.
1110

1211
## Documentation
1312

1413
Read the [official docs][] for usage and more information.
1514

16-
17-
1815
## We want your feedback
1916

2017
We'd love to hear your feedback about `gh`. If you spot bugs or have features that you'd really like to see in `gh`, please check out the [contributing page][].
2118

22-
23-
2419
<!-- this anchor is linked to from elsewhere, so avoid renaming it -->
2520
## Installation
2621

2722
### macOS
2823

29-
`gh` is available via [Homebrew][] and [MacPorts][].
24+
`gh` is available via [Homebrew][], [MacPorts][], and as a downloadable binary from the [releases page][].
3025

3126
#### Homebrew
3227

33-
|Install:|Upgrade:|
34-
|---|---|
35-
|`brew install gh`|`brew upgrade gh`|
28+
| Install: | Upgrade: |
29+
| ----------------- | ----------------- |
30+
| `brew install gh` | `brew upgrade gh` |
3631

3732
#### MacPorts
3833

39-
|Install:|Upgrade:|
40-
|---|---|
41-
|`sudo port install gh`|`sudo port selfupdate && sudo port upgrade gh`|
42-
43-
34+
| Install: | Upgrade: |
35+
| ---------------------- | ---------------------------------------------- |
36+
| `sudo port install gh` | `sudo port selfupdate && sudo port upgrade gh` |
4437

4538
### Linux
4639

47-
See [Linux installation docs](./docs/install_linux.md).
40+
`gh` is available via [Homebrew](#homebrew), and as downloadable binaries from the [releases page][].
41+
42+
For more information and distro-specific instructions, see the [Linux installation docs](./docs/install_linux.md).
4843

4944
### Windows
5045

@@ -67,10 +62,9 @@ scoop update gh
6762

6863
#### Chocolatey
6964

70-
|Install:|Upgrade:|
71-
|---|---|
72-
|`choco install gh`|`choco upgrade gh`|
73-
65+
| Install: | Upgrade: |
66+
| ------------------ | ------------------ |
67+
| `choco install gh` | `choco upgrade gh` |
7468

7569
#### Signed MSI
7670

0 commit comments

Comments
 (0)