You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-50Lines changed: 22 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,38 +1,24 @@
1
1
# GitHub CLI
2
2
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.
5
4
6
5

7
6
8
7
## Availability
9
8
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 repositories hosted on GitHub.com and GitHub Enterprise Server 2.20+, and to install on macOS, Windows, and Linux.
11
10
12
-
## We want your feedback
13
11
14
-
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][].
12
+
## Documentation
15
13
16
-
## Usage
14
+
Read the [official docs][] for usage and more information.
17
15
18
-
-`gh pr [status, list, view, checkout, create]`
19
-
-`gh issue [status, list, view, create]`
20
-
-`gh repo [view, create, clone, fork]`
21
-
-`gh gist [create, list, view, edit]`
22
-
-`gh auth [login, logout, refresh, status]`
23
-
-`gh config [get, set]`
24
-
-`gh help`
25
16
26
-
## Documentation
27
17
28
-
Read the [official docs][] for more information.
18
+
## We want your feedback
29
19
30
-
## Comparison with hub
20
+
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][].
31
21
32
-
For many years, [hub][] was the unofficial GitHub CLI tool. `gh` is a new project that helps us explore
33
-
what an official GitHub CLI tool can look like with a fundamentally different design. While both
34
-
tools bring GitHub to the terminal, `hub` behaves as a proxy to `git`, and `gh` is a standalone
35
-
tool. Check out our [more detailed explanation][gh-vs-hub] to learn more.
36
22
37
23
38
24
<!-- this anchor is linked to from elsewhere, so avoid renaming it -->
@@ -44,31 +30,17 @@ tool. Check out our [more detailed explanation][gh-vs-hub] to learn more.
44
30
45
31
#### Homebrew
46
32
47
-
Install:
48
-
49
-
```bash
50
-
brew install gh
51
-
```
52
-
53
-
Upgrade:
54
-
55
-
```bash
56
-
brew upgrade gh
57
-
```
33
+
|Install:|Upgrade:|
34
+
|---|---|
35
+
|`brew install gh`|`brew upgrade gh`|
58
36
59
37
#### MacPorts
60
38
61
-
Install:
62
-
63
-
```bash
64
-
sudo port install gh
65
-
```
39
+
|Install:|Upgrade:|
40
+
|---|---|
41
+
|`sudo port install gh`|`sudo port selfupdate && sudo port upgrade gh`|
66
42
67
-
Upgrade:
68
43
69
-
```bash
70
-
sudo port selfupdate && sudo port upgrade gh
71
-
```
72
44
73
45
### Linux
74
46
@@ -95,17 +67,10 @@ scoop update gh
95
67
96
68
#### Chocolatey
97
69
98
-
Install:
99
-
100
-
```powershell
101
-
choco install gh
102
-
```
70
+
|Install:|Upgrade:|
71
+
|---|---|
72
+
|`choco install gh`|`choco upgrade gh`|
103
73
104
-
Upgrade:
105
-
106
-
```powershell
107
-
choco upgrade gh
108
-
```
109
74
110
75
#### Signed MSI
111
76
@@ -119,6 +84,13 @@ Download packaged binaries from the [releases page][].
119
84
120
85
See here on how to [build GitHub CLI from source][build from source].
121
86
87
+
## Comparison with hub
88
+
89
+
For many years, [hub][] was the unofficial GitHub CLI tool. `gh` is a new project that helps us explore
90
+
what an official GitHub CLI tool can look like with a fundamentally different design. While both
91
+
tools bring GitHub to the terminal, `hub` behaves as a proxy to `git`, and `gh` is a standalone
92
+
tool. Check out our [more detailed explanation][gh-vs-hub] to learn more.
0 commit comments