Homebrew tap for the GitHub CLI
Перейти к файлу
Nate Smith 5ed8b87579
Update README.md
2019-11-26 11:51:12 -06:00
Formula gh 0.2.4 2019-11-26 09:03:37 -08:00
README.md Update README.md 2019-11-26 11:51:12 -06:00

README.md

Public releases for GitHub CLI

Homebrew tap

brew install github/gh/gh

Debian/Ubuntu Linux

  1. Download the .deb file from the releases page
  2. Install it with sudo dpkg -i gh_0.2.4_linux_amd64.deb, changing version number accordingly

(Uninstall with sudo apt remove gh)

Fedora/Centos Linux

  1. Download the .rpm file from the releases page
  2. Install it with sudo yum localinstall gh_0.2.4_linux_amd64.rpm, changing version number accordingly

(Uninstall with sudo yum remove gh)

Other Linux

  1. Download the _linux_amd64.tar.gz file from the releases page
  2. tar -xf gh_0.2.2_linux_amd64.tar.gz, changing version number accordingly
  3. chmod +x gh ensure the binary is executable
  4. Copy the uncompressed gh somewhere on your $PATH (e.g. sudo cp gh /usr/local/bin/)
$ 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