Skip to content

Commit 032c9dd

Browse files
author
Amanda Pinsker
authored
Update README.md
1 parent 72e9747 commit 032c9dd

File tree

1 file changed

+18
-46
lines changed

1 file changed

+18
-46
lines changed

README.md

Lines changed: 18 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,22 @@
11
# GitHub CLI
22

3-
`gh` is GitHub on the command line, and it's now available in beta. It brings pull requests, issues, and other GitHub concepts to
4-
the terminal next to where you are already working with `git` and your code.
3+
`gh` is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with `git` and your code.
54

65
![screenshot of gh pr status](https://user-images.githubusercontent.com/98482/84171218-327e7a80-aa40-11ea-8cd1-5177fc2d0e72.png)
76

87
## Availability
98

10-
While in beta, GitHub CLI is available for repos hosted on GitHub.com only. It currently does not support repositories hosted on GitHub Enterprise Server or other hosting providers. We are planning on adding support for GitHub Enterprise Server after GitHub CLI is out of beta (likely towards the end of 2020), and we want to ensure that the API endpoints we use are more widely available for GHES versions that most GitHub customers are on.
9+
GitHub CLI is available for repos hosted on GitHub.com and GitHub Enterprise Server 2.20+. It is available to install on MacOS, Windows, and Linux.
1110

1211
## We want your feedback
1312

1413
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][].
1514

16-
## Usage
17-
18-
- `gh pr [status, list, view, checkout, create]`
19-
- `gh issue [status, list, view, create]`
20-
- `gh repo [view, create, clone, fork]`
21-
- `gh config [get, set]`
22-
- `gh help`
2315

2416
## Documentation
2517

2618
Read the [official docs][] for more information.
2719

28-
## Comparison with hub
29-
30-
For many years, [hub][] was the unofficial GitHub CLI tool. `gh` is a new project that helps us explore
31-
what an official GitHub CLI tool can look like with a fundamentally different design. While both
32-
tools bring GitHub to the terminal, `hub` behaves as a proxy to `git`, and `gh` is a standalone
33-
tool. Check out our [more detailed explanation][gh-vs-hub] to learn more.
3420

3521

3622
<!-- this anchor is linked to from elsewhere, so avoid renaming it -->
@@ -42,31 +28,17 @@ tool. Check out our [more detailed explanation][gh-vs-hub] to learn more.
4228

4329
#### Homebrew
4430

45-
Install:
46-
47-
```bash
48-
brew install gh
49-
```
50-
51-
Upgrade:
52-
53-
```bash
54-
brew upgrade gh
55-
```
31+
|Install:|Upgrade:|
32+
|---|---|
33+
|`brew install gh`|`brew upgrade gh`|
5634

5735
#### MacPorts
5836

59-
Install:
60-
61-
```bash
62-
sudo port install gh
63-
```
37+
|Install:|Upgrade:|
38+
|---|---|
39+
|`sudo port install gh`|`sudo port selfupdate && sudo port upgrade gh`|
6440

65-
Upgrade:
6641

67-
```bash
68-
sudo port selfupdate && sudo port upgrade gh
69-
```
7042

7143
### Linux
7244

@@ -93,17 +65,10 @@ scoop update gh
9365

9466
#### Chocolatey
9567

96-
Install:
68+
|Install:|Upgrade:|
69+
|---|---|
70+
|`choco install gh`|`choco upgrade gh`|
9771

98-
```powershell
99-
choco install gh
100-
```
101-
102-
Upgrade:
103-
104-
```powershell
105-
choco upgrade gh
106-
```
10772

10873
#### Signed MSI
10974

@@ -117,6 +82,13 @@ Download packaged binaries from the [releases page][].
11782

11883
See here on how to [build GitHub CLI from source][build from source].
11984

85+
## Comparison with hub
86+
87+
For many years, [hub][] was the unofficial GitHub CLI tool. `gh` is a new project that helps us explore
88+
what an official GitHub CLI tool can look like with a fundamentally different design. While both
89+
tools bring GitHub to the terminal, `hub` behaves as a proxy to `git`, and `gh` is a standalone
90+
tool. Check out our [more detailed explanation][gh-vs-hub] to learn more.
91+
12092

12193
[official docs]: https://cli.github.com/manual
12294
[scoop]: https://scoop.sh

0 commit comments

Comments
 (0)