GitHub CLI, invoked as gh, is a command line tool for using GitHub without leaving the terminal. It is aimed at developers who already work in a shell and want to handle GitHub tasks alongside their Git work.
The source code is public under the MIT license and is written in Go. The project is maintained by the cli organisation on GitHub, and an official website is available for installation details and documentation.
Alternatives to GitHub CLI
Products that do a similar job in Developer Tools.
lazygit
Terminal UI for running git commands with keyboard shortcuts
gitui
Keyboard-driven terminal interface for git repositories
git-history
Browse the commit history of a single file in a git repository
onefetch
Command-line tool that shows a summary of a Git repository
gitsome
Command line interface for Git and GitHub with autocomplete
Windows Terminal
Command-line terminal app and console host for Windows
fzf
Command-line fuzzy finder for lists of files, history and any text
bat
command-line file viewer with syntax highlighting and git integration