Home/Tools/GitHub CLI
G
Install via:brewgo
License:MIT
Open source

GitHub CLI

About

GitHub on the command line — manage repos, issues, PRs, releases and Actions without leaving your terminal. Authenticates once and works across GitHub and GitHub Enterprise.

Pricing

Free

The GitHub CLI (gh) brings GitHub workflows into your terminal. Create issues, review pull requests, run Actions, and browse code — all without opening a browser tab.

Key Features

  • gh pr create / gh pr review.
  • gh issue list / gh issue view.
  • gh repo clone / gh repo create.
  • gh run watch for Actions.
  • gh auth login once, works everywhere.
  • Scriptable for automation and gh api for everything else.

Pricing

The GitHub CLI is free and open source under the MIT license. GitHub itself has free and paid plans.

Getting Started

brew install gh
gh auth login
gh repo clone cli/cli
gh pr create --title "Fix bug" --body "..."

Run gh help to explore, or gh api for direct REST calls.