# GitHub CLI (gh)

> GitHub's official command line tool

Source: https://talira.ai/catalog/github-cli-gh-07he52ta
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / git / forges](https://talira.ai/categories/developer-tools/git/forges), [developer tools / cli](https://talira.ai/categories/developer-tools/cli)
- Platforms: macos, linux, windows, cli
- Licence: MIT
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Backed by: [GitHub](https://talira.ai/orgs/github.md)
- Funding: acquired by Microsoft (2018)[^3]

gh brings pull requests, issues, releases, Actions runs and other [GitHub](https://talira.ai/catalog/github-ppcgj756.md) concepts to the terminal. It supports GitHub.com, GitHub Enterprise Cloud and Enterprise Server, has an `api` command for arbitrary REST/GraphQL calls, and ships an agent skill for driving gh from coding agents.

## Links

- Website: https://cli.github.com
- GitHub: https://github.com/cli/cli
- Docs: https://cli.github.com/manual/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/gh>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/gh>[^2]

## Problems it solves

- create a pull request without leaving the terminal
- check out a teammate's PR locally by number
- see whether CI passed on my PR from the command line
- script GitHub API calls without handling tokens and pagination myself
- my AI coding agent needs to read PR comments and issues
- list and view issues in a repo from the shell
- rerun a failed Actions workflow from the terminal
- create a release and upload assets from a script
- clone and fork repos quickly
- let my coding agent wait for its CI run to finish and see whether it failed

## Features

- PRs, issues, releases
- Actions runs
- gh api
- Enterprise Server support
- agent skill

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.82 out of 1.
Signals: maintenance 1.00, adoption 0.93, momentum 0.83, community 1.00, backing 0.55, extensibility 0.20.

- last commit 10 days ago
- 773 commits in the last 90 days
- latest release v2.104.0 11 days ago
- 47.0k GitHub stars
- 698 contributors
- backed by GitHub
- funding: acquired by Microsoft (2018)

## Alternatives

- [gh-dash](https://talira.ai/catalog/gh-dash-gn38spr9.md): A rich terminal UI for GitHub that doesn't break your flow.
- [Graphite](https://talira.ai/catalog/graphite-e5611h41.md): One tool. Everything you need to review and ship faster.
- [CircleCI CLI](https://talira.ai/catalog/circleci-cli-z9af271a.md): Use CircleCI from the command line
- [GitLab CLI](https://talira.ai/catalog/gitlab-cli-2rsyt78e.md): A GitLab CLI tool bringing GitLab to your command line

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://blogs.microsoft.com/blog/2018/10/26/microsoft-completes-github-acquisition/ (checked 20 Nov 2026)
