Skip to content

Commit a6495a8

Browse files
authored
Merge pull request cli#733 from michaelld/add_MP_to_readme
add MacPorts usage info
2 parents c0c2862 + 60e7bb6 commit a6495a8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,19 @@ tool. Check out our [more detailed explanation](/docs/gh-vs-hub.md) to learn mor
4141

4242
### macOS
4343

44+
`gh` is available via Homebrew and MacPorts.
45+
46+
#### Homebrew
47+
4448
Install: `brew install github/gh/gh`
4549

46-
Upgrade: `brew update && brew upgrade gh`
50+
Upgrade: `brew upgrade gh`
51+
52+
#### MacPorts
53+
54+
Install: `sudo port install gh`
55+
56+
Upgrade: `sudo port selfupdate && sudo port upgrade gh`
4757

4858
### Windows
4959

0 commit comments

Comments
 (0)