> ## Content Index
> Fetch the complete content index at: https://www.techielass.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Install GitHub CLI on Windows
- URL: https://www.techielass.com/install-github-cli-on-windows/
- Published: 2022-02-15T09:01:00.000Z
- Updated: 2023-10-24T07:11:41.000Z
- Description: Join me as I explain what the GitHub CLI tool is and how to install it on your Windows machine.
- Author: Sarah Lean
- Tags: GitHub, CLI, WinGet, chocolatey

Let's discuss GitHub and the available command line (CLI) tool that you can use to interact with your GitHub repositories. In this blog post we will how you can install the tool on your Windows machine using various techniques. 

## What is GitHub CLI for?

The GitHub command line (CLI) tool can carry tasks relating to pull requests, issues and other GitHub tasks to your terminal. If you are working with code within your terminal and need to carry out a task with [GitHub, ](https://www.techielass.com/tag/github/)you don't have to leave that terminal session. 

Each command starts with **gh**. 

## Install GitHub CLI with Winget

[Windows Package Manager or winget](https://www.techielass.com/get-started-with-windows-package-manager/) is the built-in package manager software on Windows 10 and Windows 11 machines. With winget you can install, upgrade and remove software through a command line. Winget is a Microsoft Open Source project. 

You can use this command to install the GitHub CLI software: 

```powershell
winget install --id github.cli

```

## Install GitHub CLI with Chocolatey

Chocolatey is an open-source package manager tool that can help automate the installation, upgrade and removal of software on your Windows hardware. 

If you already have Chocolatey installed on your machine, you can type in the following command to install GitHub CLI:

```powershell
choco install gh

```

## Install GitHub CLI manually

You can install the software manually, "the old-fashioned" way, by downloading the file and then walking through the installation wizard. 

You can find the latest release of the software here: [https://github.com/cli/cli/releases/](https://github.com/cli/cli/releases/?ref=techielass.com)

You will find a bunch of file options to download; for Windows machines, you'll need either the MSI or ZIP versions, depending on what your needs are. 

### Go forth and install the GitHub CLI tool and have fun using it! 😊

[![If you like my work, please consider supporting me by buying me a coffee](https://storage.ghost.io/c/08/96/08960c71-63a2-449b-91b1-8d4628166dd2/content/images/2022/02/blogcoffee.png)](https://www.buymeacoffee.com/techielass?ref=techielass.com)

If you like my work, please consider supporting me by buying me a coffee

[*Installation*](https://icons8.com/icon/QlSiAFjDN7NQ/installation?ref=techielass.com) *icon by [Icons8](https://icons8.com/?ref=techielass.com)*