From efefe5a8493c8b5f864f42a30e549e400dbabcd1 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Thu, 2 Apr 2020 08:49:43 -0400 Subject: [PATCH 1/2] add MacPorts usage info --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 59e378eda..52ad9c2da 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,20 @@ tool. Check out our [more detailed explanation](/docs/gh-vs-hub.md) to learn mor ### macOS +`gh` is available via [brew][] and [MacPorts][]. + +#### brew + Install: `brew install github/gh/gh` Upgrade: `brew update && brew upgrade gh` +#### MacPorts + +Install `sudo port install gh` + +Upgrade: `sudo port selfupdate && sudo port upgrade gh` + ### Windows `gh` is available via [scoop][], [Chocolatey][], and as downloadable MSI. From 60e7bb624330703a200cfd61f25e83d48c39c63b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Wed, 8 Apr 2020 12:26:15 +0200 Subject: [PATCH 2/2] Tweak macOS installation docs --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 52ad9c2da..1fdf1bad6 100644 --- a/README.md +++ b/README.md @@ -40,17 +40,17 @@ tool. Check out our [more detailed explanation](/docs/gh-vs-hub.md) to learn mor ### macOS -`gh` is available via [brew][] and [MacPorts][]. +`gh` is available via Homebrew and MacPorts. -#### brew +#### Homebrew Install: `brew install github/gh/gh` -Upgrade: `brew update && brew upgrade gh` +Upgrade: `brew upgrade gh` #### MacPorts -Install `sudo port install gh` +Install: `sudo port install gh` Upgrade: `sudo port selfupdate && sudo port upgrade gh`