Wingetlywingetly
← All apps

GitHub CLI

by GitHub, Inc.v2.100.0

Last updated

Take GitHub to the command line

Install with winget

$ winget install --id GitHub.cli --exact --version 2.100.0

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Silent install command for GitHub CLI

GitHub CLI uses MSI (WiX). The silent install switches are /quiet /norestart.

One-line silent install (x64, machine scope)
msiexec.exe /i gh_2.100.0_windows_amd64.msi /quiet /norestart

See the full silent install reference for GitHub CLI

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

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.

Installers · v2.100.0

ArchitectureTypeScopeInstallDownload
x86Portable
in ZIP
-Direct
x86MSI
WiX
machineDirect
x64Portable
in ZIP
-Direct
x64MSI
WiX
machineDirect
arm64Portable
in ZIP
-Direct
arm64MSI
WiX
machineDirect

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

3 known CVEs via NVD

  • high7.4Patched in wingetCVE-2026-48501affects before 2.93.0May 29, 2026

    GitHub CLI (gh) is GitHub’s official command line tool. Prior to 2.93.0, GitHub CLI incorrectly includes authorization header in API requests to TUF repository mirrors via gh attestation, gh release verify, and gh release verify-asset commands. The CLI uses a shared HTTP client...

  • low3.5Patched in wingetCVE-2026-45803affects before 2.92.0May 15, 2026

    `gh` is GitHub’s official command line tool. From 1.6.0 to before 2.92.0, a security vulnerability has been identified in GitHub CLI that could allow terminal escape sequence injection when users view GitHub Actions workflow logs using gh run view --log or gh run view --log-fail...

  • high8.0Patched in wingetCVE-2024-52308affects before 2.62.0Nov 14, 2024

    The GitHub CLI version 2.6.1 and earlier are vulnerable to remote code execution through a malicious codespace SSH server when using `gh codespace ssh` or `gh codespace logs` commands. This has been patched in the cli v2.62.0. Developers connect to remote codespaces through an...

Source: NVD, updated 1h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

Related apps

  • Copilot CLIGitHub, Inc.
    GitHub.Copilotvv1.0.83

    GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.

  • GitHub DesktopGitHub, Inc.
    GitHub.GitHubDesktopv3.6.5

    Focus on what matters instead of fighting with Git.

  • Copilot CLI (Preview)GitHub, Inc.
    GitHub.Copilot.Prereleasevv1.0.78-3

    GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.

  • Git LFSGitHub, Inc.
    GitHub.GitLFSv3.8.0

    Git Large File Storage is a command line extension and specification for managing large files with Git.

  • GitHub Desktop BetaGitHub, Inc.
    GitHub.GitHubDesktop.Betav3.5.5-beta2

    GitHub Desktop is an open source Electron-based GitHub app. It is written in TypeScript and uses React.

  • classroom-assistantGitHub, Inc.
    GitHub.ClassroomAssistantv2.0.4

    Clone student repositories in bulk

More from GitHub, Inc. or browse cli, command-line, enterprise.

Frequently asked questions

How do I install GitHub CLI on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id GitHub.cli --exact --version 2.100.0. winget downloads the installer from GitHub, Inc. and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install GitHub CLI silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id GitHub.cli --exact 2.100.0 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for GitHub CLI?
GitHub CLI uses MSI (WiX). Run the downloaded installer with: msiexec.exe /i gh_2.100.0_windows_amd64.msi /quiet /norestart. The silent switches are /quiet /norestart.
How do I uninstall GitHub CLI via winget?
Run: winget uninstall --id GitHub.cli --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from GitHub CLI's Apps & Features entry.
Is GitHub CLI free?
GitHub CLI is distributed under MIT. Refer to the publisher (https://cli.github.com/) for the full license terms - Wingetly itself does not charge for installation.
Does GitHub CLI work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls GitHub CLI directly from the publisher.
How do I keep GitHub CLI up to date?
Run winget upgrade --id GitHub.cli --exact, or winget upgrade --all to update everything winget tracks. We index 10 versions of GitHub CLI from microsoft/winget-pkgs.

Recent versions

  • 2.100.0latest
  • 2.99.0
  • 2.98.0
  • 2.97.0
  • 2.96.0
  • 2.95.0
  • 2.94.0
  • 2.93.0
  • 2.92.0
  • 2.91.0