Skip to content
Homebrew tap for GitHub CLI
Ruby
Branch: master
Clone or download
Latest commit 240db5c Nov 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Formula gh 0.2.4 Nov 26, 2019
README.md Update README.md Nov 27, 2019

README.md

Public releases for GitHub CLI

Homebrew tap

brew install github/gh/gh

Debian/Ubuntu Linux

  1. sudo apt install git if you don't already have git
  2. Download the .deb file from the releases page
  3. sudo dpkg -i gh_*_linux_amd64.deb install the downloaded file

(Uninstall with sudo apt remove gh)

Fedora/Centos Linux

  1. Download the .rpm file from the releases page
  2. sudo yum localinstall gh_*_linux_amd64.rpm install the downloaded file

(Uninstall with sudo yum remove gh)

Other Linux

  1. Download the _linux_amd64.tar.gz file from the releases page
  2. tar -xf gh_*_linux_amd64.tar.gz
  3. Copy the uncompressed gh somewhere on your $PATH (e.g. sudo cp gh_*_linux_amd64/bin/gh /usr/local/bin/)

(Uninstall with rm)

$ gh help
Do things with GitHub from your terminal

Usage:
  gh [flags]
  gh [command]

Available Commands:
  help        Help about any command
  pr          Work with pull requests

Thank you for trying out GitHub CLI! 🌟

Development version (restricted access)

You can get access to features that are not yet in the stable release by building the development version:

brew install github/gh/gh --HEAD

To upgrade it:

brew upgrade gh --fetch-HEAD
You can’t perform that action at this time.