Install
brew install gh
$
A standalone Go tool that brings GitHub concepts like pull requests, issues, and releases to the terminal, so you can review a PR or check status with commands like gh pr status without opening a browser. It works on macOS, Windows, and Linux against GitHub.com, Enterprise Cloud, and Enterprise Server, and comes pre-installed on GitHub-hosted Actions runners. Use it to keep GitHub workflows next to your local git.