// install via winget
Command Prompt & PowerShell
click to copy
winget install GitHub.cli
// direct download
Download Installer// 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 PowerShell or Windows Terminal and run:
winget install GitHub.cli. Winget ships with Windows 10 (1809+) and Windows 11 — no additional install needed.What is GitHub CLI?
Take GitHub to the command line
Is GitHub CLI free to download?
GitHub CLI is distributed under the MIT license. Use the winget command above or click the download button to get the installer directly from the publisher.
How do I update GitHub CLI with winget?
Run
winget upgrade GitHub.cli in PowerShell or Windows Terminal to update GitHub CLI to the latest available version.What architecture does GitHub CLI support?
The listed installer targets the x64 architecture. See the publisher’s documentation for full compatibility details.