Simple one-liner installer of gh
(cli/cli) from the release assets without package management tools.
jq
curl -sS https://raw.githubusercontent.com/thombashi/install-gh/main/setup-gh.sh | sudo sh
curl -sS https://raw.githubusercontent.com/thombashi/install-gh/main/setup-gh.sh | sudo sh -s v2.14.7
- Linux
- macOS
- thombashi/gh-update
gh-update
is agh
extension that updates the gh to the latest version.