Install GitHub CLI on Windows

GitHub on the command line: pull requests, issues, releases and Actions.

Install commands

Open PowerShell or Windows Terminal and run one of these commands to install GitHub CLI.

winget
winget install --id GitHub.cli --exact --source winget
Scoop
scoop install main/gh
Chocolatey
choco install gh -y

Package details

Category
Developer Tools
winget
GitHub.cli
Scoop
main/gh
Chocolatey
gh

Package sources

The script installs exactly these packages. Versions are the latest ones recorded by the automated catalog check on 2026-09-14; they are used when version pinning is enabled.

Package managerPackageVerified versionSource
wingetGitHub.cli2.100.0Manifest
Scoopmain/gh–Manifest
Chocolateygh2.100.0Manifest

Install GitHub CLI together with other apps

Add this app to a WinMate selection to install it together with the rest in one script and with a single administrator prompt.

Add to my install script

More Developer Tools