gh
Install latest/stable of gh
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install gh --classic
Don't have snapd? Get set up for snaps.
Details for gh
Package name
- gh
License
- MIT
Last updated
- 20 February 2026 - latest/stable
- Today - latest/edge
Websites
Contact
External link warning
You are about to open
Do you wish to proceed?
Report a Snap Store violation
Report gh for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
Share this snap
Generate an embeddable card to be shared on external websites.
The GitHub CLI
gh - The GitHub CLI tool
gh is GitHub on the command line, and it's now available in beta. It brings pull requests, issues, and other GitHub concepts to
the terminal next to where you are already working with git and your code.
Usage
gh pr [create, list, status, view, checkout, ...]gh issue [create, list, status, view, ...]gh [auth, browse, codespace, gist, org, project, release, repo, ...]gh [cache, run, workflow, ...]gh [alias, api, attestation, config, extension, gpg-key, label, preview, ruleset, search, secret, ssh-key, status, variable, ...]gh help
| Revision | Channel | Version | Build | Commit | Download SBOM |
|---|
The build and commit information is derived from build infrastructure records.
Install gh on your Linux distribution
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.