Install GitHub Command Line Tool on Mac


Install GitHub Command-Line tool on Mac using brew

brew install gh is the command that you can use to install the GitHub Command-Line tool on a Mac.

% brew install gh
==> Pouring gh--2.15.0.arm64_monterey.bottle.tar.gz
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Summary
🍺  /opt/homebrew/Cellar/gh/2.15.0: 140 files, 34.9MB
==> Running `brew cleanup gh`...
% gh --version
gh version 2.15.0 (2022-09-06)
https://github.com/cli/cli/releases/tag/v2.15.0
-




Have Questions? Post them here!