Take GitHub to the command line

GitHub CLI brings GitHub to your terminal. Free and open source.

Download for Windows View installation instructions →

$   gh release create

Create a shortcut for a gh command.

$ gh alias set bugs 'issue list --label="bugs"
- Adding alias for bugs: issue list --label="bugs"
Added alias.

$ gh bugs

Showing 2 of 7 issues in cli/cli that match your search

#19 Pagination request returns empty JSON (bug)
#21 Error raised when passing valid parameters (bug)

Goodbye, context switching. Hello, terminal.

Your entire GitHub workflow

Work with issues, pull requests, checks, releases and more.

View all GitHub CLI commands →

Script and customize

Call the GitHub API to script almost any action, and set a custom alias for any command.

Learn about aliases and API →

Enterprise-ready

Connect to GitHub Enterprise Server in addition to GitHub.com.

Get set up with Enterprise →

We <3 community

GitHub CLI is open source and ready for your contributions.

Contribute to CLI →

Try GitHub on the command line

GitHub CLI brings GitHub to your terminal. Free and open source.

square-pattern