Install via Winget
winget install GitHub.cli
Open Windows Terminal or PowerShell and run the command above. Winget is built into Windows 10 (1809+) and Windows 11.
About GitHub CLI
GitHub CLI (gh) is a command-line tool that brings pull requests, issues, GitHub Actions, and other GitHub features to your terminal, so you can do all your work in one place.
Frequently Asked Questions
How do I install GitHub CLI using winget?
Open Windows Terminal or PowerShell and run:
winget install GitHub.cli. Winget is built into Windows 10 (1809+) and Windows 11.What is GitHub CLI?
Take GitHub to the command line
Is GitHub CLI free to download?
GitHub CLI is available under the MIT license. Use the winget command or the direct download link on this page.
How do I update GitHub CLI with winget?
Run
winget upgrade GitHub.cli in Windows Terminal or PowerShell to update GitHub CLI to the latest available version.