# gh (GitHub CLI)

> Updated 2026-09-03 · type: tool · category: project-ops · status: active · rev 1

~45800 stars; complements PyGithub, octokit.js; Official GitHub CLI. Auth via OAuth device flow or PAT. No ToS risk; standard REST rate limits (5000/hr…

- Open source: yes (MIT)
- Self-hostable: yes
- Pricing model: free
- Best for: Developers who want to manage GitHub pull requests, issues, and workflows from their terminal.
- Last verified: 2026-09-04

- **Canonical:** https://gtmstacker.com/registry/tool/gh-github-cli/
- **Source:** [github · github.com/cli](https://github.com/cli/cli)
- **Tags:** project-ops, project-issue-dev-platforms
- **Repository:** https://github.com/cli/cli

## Is gh (GitHub CLI) open source?

Yes — MIT-licensed.

## How much does gh (GitHub CLI) cost?

It is free to use.

## Can I self-host gh (GitHub CLI)?

Yes — it can be self-hosted.


---

~45800 stars; complements PyGithub, octokit.js; Official GitHub CLI. Auth via OAuth device flow or PAT. No ToS risk; standard REST rate limits (5000/hr authenticated).
