About GitHub CLI

GitHub CLI (gh) is the official command-line tool for GitHub, bringing the full GitHub experience to your terminal. With it you can create and review pull requests, manage issues, check workflow runs, clone repos, create gists, manage releases, and perform nearly every GitHub action without opening a browser.

The `gh pr create` command drafts a PR with the current branch, fills in the template, sets reviewers, and opens it — all in seconds. `gh run watch` streams CI logs in real-time in your terminal. `gh issue list` and `gh issue create` bring issue management to the terminal too.

GitHub CLI also supports GitHub Copilot in the CLI, letting you ask `gh copilot explain` and `gh copilot suggest` to get AI-generated explanations and command suggestions. For developers who want to maximize time in the terminal, gh is essential.

Key Features

Create and review pull requests from terminal
Manage issues, labels, and milestones
View and re-run workflow runs
Clone repos, fork, and manage remotes
GitHub Copilot in CLI integration
GitHub Actions management
Release management
Extensible with custom gh extensions

Tags

#Git#GitHub#CLI#DevOps#Free
Pricing
Free, Open Source

Platforms
WindowsmacOSLinux

Rating
4.8/ 5.0

Suggested Tools

👋 Need help with code?