Install GitHub CLI
Follow GitHub’s installation guide for your OS. Short version:
Windows
winget install --id GitHub.cli
Or download the installer from cli.github.com.
macOS
brew install gh
Linux
sudo apt install gh
If apt has no package, use the Debian/Ubuntu instructions from the CLI repo.