Published by GitHub, Inc.

GitHub CLI

Take GitHub to the command line

Version2.92.0 LicenseMIT winget • wix Archx64
clicommand-lineenterprisefossgitgithubopen-sourceterminaltoolutility

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.

Winget Install — click to copy
winget install GitHub.cli

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.