WinGet is a command line tool enabling users to discover, install, upgrade, remove and configure applications on Windows 10, Windows 11, and Windows Server 2025 computers. This tool is the client interface to the Windows Package Manager service.
The GitHub CLI package is supported by Microsoft with updates powered by microsoft/winget-pkgs.
To install:
winget install --id GitHub.cliTo upgrade:
winget upgrade --id GitHub.cliNote
The Windows installer modifies your PATH. When using Windows Terminal, you will need to open a new window for the changes to take effect. (Simply opening a new tab will not be sufficient.)
GitHub CLI releases contain precompiled exe and msi binaries for 386, amd64 and arm64 architectures.
Important
The GitHub CLI team does not maintain the following packages or repositories. We are unable to provide support for these installation methods or any guarantees of stability, security, or availability for these installation methods.
The GitHub CLI package is supported by the Chocolatey community with updates powered by pauby/ChocoPackages.
To install:
choco install ghTo upgrade:
choco upgrade ghConda is an open source package management system and environment management system for installing multiple versions of software packages and their dependencies and switching easily between them. It works on Linux, OS X and Windows, and was created for Python programs but can package and distribute any software.
The GitHub CLI package is supported by the Conda community with updates powered by conda-forge/gh-feedstock.
To install:
conda install gh --channel conda-forgeTo upgrade:
conda update gh --channel conda-forgeThe GitHub CLI bucket is supported by the Scoop community with updated powered by ScoopInstaller/Main.
To install:
scoop install ghTo upgrade:
scoop update ghWebi is a tool that aims to effortlessly install developer tools with easy-to-remember URLs from official builds quickly, without sudo or Admin, without a package manager, and without changing system file permissions.
The GitHub CLI package is supported by the Webi community with updates powered by webinstall/webi-installers.
To install:
curl -sS https://webi.sh/gh \| shTo upgrade:
webi gh@stable