

WinGet is a package manager that comes with Windows 10.

Once Scoop is installed, open your command prompt and run the following command: $ scoop install gh Install GitHub CLI (gh) on Windows via WinGet If you don't have Scoop installed, you can follow the instructions on the official Scoop website to install it.

Scoop is another package manager for Windows. Once you have Chocolatey installed, open your command prompt as an administrator and run the following command: $ choco install gh Install GitHub CLI (gh) on Windows via Scoop If you haven't installed it yet, you can do so by following the instructions on the official Chocolatey website. Install GitHub CLI (gh) on Windows via ChocolateyĬhocolatey is a package manager for Windows. I'd recomment you look at the Table of Contents on the right to find your OS and preferred installer to more easily find what you need.įor each of the install methods below, once the installation completes, you can verify that it installed correctly by running: $ gh -version There are a lot of ways to do this between the various operating systems and package managers. In this Byte, we'll walk you through the process of installing GitHub CLI on Windows and macOS using different package managers. This typically occurs when the GitHub CLI (gh) is not installed on your system or the path to the executable is not correctly set. Running into a "gh: command not found" or "gh is not recognized" error message can be frustrating.
