GitHub CLI

Open Source

by GitHub

Provided by GitHub

Not yet rated
Platform
Windows / Linux / macOS
Pricing
Open Source
Account required
No
Ads
None
Last verified
23 hours ago
Developer
GitHub
Official URL

Overview

GitHub CLI, run as the command gh, is GitHub's official command-line tool. It brings the parts of GitHub that normally live in the browser, such as issues, pull requests, checks and releases, into the terminal next to Git, so developers can stay in one place while they work.

Typical commands list issues, show the status of your pull requests, check out a pull request locally, open a new one, look at CI checks, create a release or view a repository. For anything without a dedicated command, gh can call the GitHub API directly, which makes it useful in scripts and automation. You can define your own aliases for commands you use often, and GitHub Copilot CLI can be started through it as a separate product.

The tool is free and open source under the MIT licence, and runs on macOS, Windows and Linux. It is installed with Homebrew, WinGet or an MSI installer, or with apt, dnf and zypper packages on Linux, and binaries can be downloaded directly. It works with GitHub.com, GitHub Enterprise Cloud and supported versions of GitHub Enterprise Server. Releases carry signed build provenance attestations that can be verified.

Features

  • Lists, views and creates issues from the terminal
  • Creates, checks out and reviews the status of pull requests
  • Shows the results of CI checks on a pull request
  • Creates releases and views repositories
  • Calls the GitHub API directly for scripting
  • Custom aliases for frequently used commands
  • Works with GitHub.com, GitHub Enterprise Cloud and GitHub Enterprise Server
  • Packages for Homebrew, WinGet, apt, dnf and zypper, plus direct downloads

Privacy

See the official privacy policy. The tool runs on your computer and talks to GitHub; no ad or analytics scripts were found on its website.

Pros & Cons

Pros

  • Free and open source under the MIT licence
  • Official tool maintained by GitHub
  • Available for macOS, Windows and Linux
  • Releases include signed build provenance attestations

Cons

  • Only works with GitHub, not other Git hosting services
  • Command-line only, with no graphical interface
  • Linux package signing keys are rotated from time to time, which can interrupt updates until the new key is installed

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • GitHub Editor's Pick
    Git Tools · GitHub

    Host, review, and collaborate on code with Git version control.

    Not yet rated
    Freemium Web iOS
  • GitHub Tools · GitHub

    Manages Git repositories through a visual interface.

    Not yet rated
    Open Source Windows macOS