Skip to main content
Skip to content

About motherf*ckin' GitHub CLI

GitHub CLI is a command-line tool that brings pull requests, issues, GitHub Actions, and other GitHub features to your terminal, so you can do all your work in one place.

About motherf*ckin' GitHub CLI

Let me tell you somethin': GitHub CLI is an open source tool for using GitHub from your goddamn computer's command line. When you're working from the command line, you can use the muthaf*ckin' GitHub CLI to save time and avoid switching context.

GitHub CLI includes GitHub features such as:

  • View, create, clone, and fork repositories
  • Create, close, edit, and view issues and pull requests
  • Review, diff, and merge pull requests
  • Run, view, and list workflows
  • Create, list, view, and delete releases
  • Get this sh*t: Create, edit, list, view, and delete gists
  • List, create, delete, and connect to a goddamn codespace
  • Retrieve information from the GitHub API

For more information about what you can do with GitHub CLI, see the GitHub CLI manual.

What's the difference between GitHub CLI and Git on the command line?

The muthaf*ckin' Git command line interface (git) allows you to work with a local or remote Git repository. The f*ckin' remote repository may be hosted on GitHub or it may be hosted by another muthaf*ckin' service.

GitHub CLI (gh) is specifically for working with GitHub. It allows you to use the command line to interact with GitHub in all sorts of ways, as illustrated by the motherf*ckin' previous list, believe that. If you tend to work on the command line, you may prefer using GitHub CLI instead of using GitHub in a browser. GitHub CLI also makes it easier for you to create scripts to automate GitHub operations. I ain't playin'.

Installing GitHub CLI

For installation instructions for GitHub CLI, see the GitHub CLI repository.

Sharing feedback

If you have feedback or feature requests, you can open an issue in the cli/cli repository.