About CLI
CLI is an open source tool for using from your computer's command line. When you're working from the command line, you can use the CLI to save time and avoid switching context.
CLI includes 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
- Create, edit, list, view, and delete gists
- List, create, delete, and connect to a codespace
- Retrieve information from the API
For more information about what you can do with CLI, see the CLI manual.
What's the difference between CLI and Git on the command line?
The Git command line interface (git
) allows you to work with a local or remote Git repository. The remote repository may be hosted on or it may be hosted by another service.
CLI (gh
) is specifically for working with . It allows you to use the command line to interact with in all sorts of ways, as illustrated by the previous list. If you tend to work on the command line you may prefer using CLI instead of using in a browser. CLI also makes it easier for you to create scripts to automate operations.
Installing CLI
For installation instructions for CLI, see the CLI repository.
Sharing feedback
If you have feedback or feature requests, you can open an issue in the cli/cli
repository.