gh
brew install gh
v2.95.0
MIT
Command-line interface for GitHub operations: create PRs, issues, manage repos without leaving the shell.
Why you might care
Essential if you spend time on GitHub—automate PR workflows, merge branches, check CI status, and manage issues directly from your terminal. Faster and scriptable alternative to the web UI. Single binary, no dependencies at runtime.
299.4k
30-day installs · #5
891.2k
90-day · #6
2.7M
365-day · #8
Build dependencies
Links
- https://cli.github.com/
- Brew formula source: Formula/g/gh.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"hub",
"git",
"GitHub web UI"
],
"build_dependencies": [
"go"
],
"categories": [
"version-control",
"cli",
"networking"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "GitHub command-line tool",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:00+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "gh",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://cli.github.com/",
"homepage_og_description": "Take GitHub to the command line",
"homepage_og_image": "/assets/images/social-card.png",
"homepage_title": "GitHub CLI | Take GitHub to the command line",
"installs_30d": 299441,
"installs_365d": 2664826,
"installs_90d": 891199,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:42:04+00:00",
"llm_model": "claude-haiku-4-5",
"name": "gh",
"oldnames": [],
"one_liner": "Command-line interface for GitHub operations: create PRs, issues, manage repos without leaving the shell.",
"optional_dependencies": [],
"rank_30d": 5,
"rank_365d": 8,
"rank_90d": 6,
"raw_hash": "3b6406df35a400cb",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/gh.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "2.95.0",
"versioned_formulae": [],
"why_use_this": "Essential if you spend time on GitHub\u2014automate PR workflows, merge branches, check CI status, and manage issues directly from your terminal. Faster and scriptable alternative to the web UI. Single binary, no dependencies at runtime."
}