зеркало из https://github.com/github/homebrew-gh.git
5ed8b87579 | ||
---|---|---|
Formula | ||
README.md |
README.md
Public releases for GitHub CLI
Homebrew tap
brew install github/gh/gh
Debian/Ubuntu Linux
- Download the
.deb
file from the releases page - 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
- Download the
.rpm
file from the releases page - 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
- Download the
_linux_amd64.tar.gz
file from the releases page tar -xf gh_0.2.2_linux_amd64.tar.gz
, changing version number accordinglychmod +x gh
ensure the binary is executable- 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