gh
officialscriptablepopulargitbrew
GitHub · Pull requests, issue triage, and github actions from the terminal.
$ brew install ghOne-liner to try
$ gh auth loginAgent pack
Copy into an agent
A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.
Readiness
Great for agents · 75/100
Verify
gh auth status
Agent URL
/cli/gh/agent.md
Quick reference
Install
brew install ghVerify
gh auth statusFirst command
gh auth login && gh repo clone vercel/next.jsAbout
The official CLI from GitHub. Pull requests, issue triage, and github actions from the terminal. Start with `gh auth login` and go from there. Supports structured output — good for scripts and agents.
Example workflow
1. gh auth login2. gh repo clone vercel/next.js3. gh pr create --fill