PAGES
← all tools
◆ General Utilities & Libraries

GitHub CLI

v2.103.0 open-source

GitHub CLI is a command-line tool that brings pull requests, issues, GitHub ActionsGitHub ActionsGitHub's built-in CI/CD system that runs automated workflows triggered by repository events, letting cyber tools automate testing, building, and releasing without managing separate pipeline infrastructure., and other GitHub features to your terminal.

Summary

GitHub CLI is an open-source command-line tool, free to use, that brings pull requests, issues, GitHub Actions, and other GitHub features into the terminal so you can work without switching to a browser. It runs as a gh binary alongside git on macOS, Windows, or Linux, and works against GitHub.com, GitHub Enterprise Cloud, or Enterprise Server, which makes it a fit for developers and DevOps engineers who already live in a terminal and CI pipelines. It handles day-to-day tasks like checking out a pull request into its own worktree, editing project fields by name instead of internal IDs, and running semantic searchsemantic searchSearching by meaning rather than requiring the same words. It commonly compares vector representations to find related content, even when the wording differs. across issues, plus agent-skill support for driving gh from coding agents. It sits in the same space as GitHub's own web interface and API clients, but keeps everything at the command line. First committed in 2019, it draws over 700 contributors and shipped a release 21 days ago, so it is actively maintained.

GitHub CLI is a command-line tool that brings pull requests, issues, GitHub Actions, and other GitHub features to your terminal.

How GitHub CLI helps

Which pull request should I review next, and can I check it out without disturbing my current branch?

pulls the PR down into its own isolated worktree, leaving your existing checkout and branch untouched while you review

Can I see Status and Priority alongside my project items without opening the board?

lists project items with named fields shown as extra columns, so triage happens in the table you already have in the terminal

Which issues match what I meant, not just the words I typed?

runs a semantic or hybrid search across issues so intent-based matches surface even when a keyword search would miss them

Is my organization's API traffic actually passing through our compliance gateway?

routes a host's API calls through a configured gateway while leaving authentication, git remotes, and browser URLs on the original host, and lets you confirm the gateway is live before CI depends on it

Can I create a branch for an issue and start working without touching my main checkout?

creates a linked feature branch for the issue and checks it out into a separate worktree alongside your existing one

all 60 features, with the evidence for each →

Languages

Not documented

Features

60 capabilities · 6 backed by code, an API document or a real run

Built from GitHub CLI's releases, docs, README and our own runs. “Seen” marks the month we first spotted a release the vendor didn't date. Group names and tags are our labels.

Compare with peers →

What GitHub CLI offers you

  • Command-line interface43
  • CI/CD pipeline integration3
  • GraphQL API support3
  • JSON data export3
  • REST API2
  • Plugin system1
  • Scripting API1
  • Single sign-on1
All capabilities 60 capabilities
Pull request and issue management shipped Work with pull requests and issues directly from the CLI. 144 releases · 64 other sources · first seen Jan 2020

Also counts toward: Command-line interface

release 144 total

  • Adds --body-file flag to gh issue artifact edit to update a document's content from a file. v2.103.0 · Oct 2026 · source · release history
  • Adds --restore-version flag to gh issue artifact edit to roll back an artifact to an earlier version. v2.103.0 · Oct 2026 · source · release history
  • Adds --attach flag to gh issue artifact create to attach images or video files to Markdown documents. v2.103.0 · Oct 2026 · source · release history
  • Extend gh issue develop with worktree checkout support via --checkout and --worktree flags. v2.99.0 · Sep 2026 · source · release history
  • Add repeatable --attach flag to gh issue create, gh issue edit, gh pr create, gh pr edit, gh issue comment, and gh pr comment for uploading local images and videos. v2.99.0 · Sep 2026 · source · release history
  • Extends gh issue develop with a --worktree flag (used alongside --checkout) to create a linked branch and check it out in a new Git worktree without disturbing the current working copy. v2.99.0 · Sep 2026 · source · release history

docs

  • 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. Start using GitHub CLI to work with GitHub in the command line. seen Sep 2026 · source
  • Attaching files with GitHub CLI Attach local images and videos to issues, pull requests, and comments without leaving the command line. You can attach a local image or video from the command line with GitHub CLI using the --attach flag. docs update · Sep 2026 · source
  • Attaching files with GitHub CLI Attach local images and videos to issues, pull requests, and comments without leaving the command line. seen Sep 2026 · source
  • Command-line interface that brings GitHub pull requests, issues, and other concepts to the terminal alongside git.

example 60 total

  • Create a Markdown artifact on issue #142 with an attached image, then list all artifacts on that issue to confirm it was created. gh issue artifact create 142 signin-plan.md --attach ./signin-flow.png gh issue artifact list 142 v2.103.0 · Oct 2026 · source
  • Create a linked feature branch for an issue and check it out in an isolated worktree, leaving your main checkout untouched. gh issue develop 123 --checkout --worktree /path/to/wt-feature v2.99.0 · Sep 2026 · source
  • Attach multiple media files to a new pull request in a single command invocation. gh pr create --title "Fix bug" --body "Details here" --attach ./screenshot.png --attach ./video.mp4 v2.99.0 · Sep 2026 · source
  • Develop an issue by checking it out into a specific local worktree directory without disturbing the current workspace. gh issue develop 123 --checkout --worktree /path/to/wt-feature v2.99.0 · Sep 2026 · source
  • Check out a PR into an isolated git worktree to review it without disturbing your current branch. gh pr checkout 12 --worktree ../wt-feature v2.98.0 · Aug 2026 · source
  • Run a semantic or hybrid search across GitHub issues when keyword search misses intent-based matches. gh search issues --search-type semantic 'authentication token expiry' v2.98.0 · Aug 2026 · source
GitHub Actions management shipped Interact with GitHub Actions workflows and runs via dedicated commands. 30 releases · 15 other sources · first seen Apr 2021

Also counts toward: Command-line interface

release 30 total

  • gh workflow run now immediately prints the created workflow run URL v2.87.0 · Feb 2026 · source · release history
  • gh cache delete now supports deleting all caches for a specific ref. v2.86.0 · Jan 2026 · source · release history
  • gh run cancel now accepts a --force flag to bypass the interactive prompt. v2.78.0 · Aug 2025 · source · release history
  • Adds --compact flag to gh run watch to produce terse, line-drawing output suitable for constrained terminals v2.74.0 · May 2025 · source · release history
  • gh cache delete --all gains --succeed-on-no-caches to return exit code 0 when no caches are found, preventing pipeline failures in clean states. v2.68.0 · Mar 2025 · source · release history
  • gh run list displays a pending state for workflow runs that have not yet started. v2.65.0 · Jan 2025 · source · release history

example 15 total

  • Open the repository's Actions tab from the terminal for a specific org/repo. gh browse --actions v2.85.0 · Jan 2026 · source
  • Delete a cache for a specific branch using the new --ref flag. gh cache delete --ref main v2.79.0 · Sep 2025 · source
  • Force-cancel the current run in CI without waiting for confirmation. gh run cancel --force v2.78.0 · Aug 2025 · source
  • Stream GitHub Actions runs in a compact terminal window or SSH session without verbose JSON/detailed logs. gh run watch --compact v2.74.0 · May 2025 · source
  • Initialize a new workflow setup via an interactive TUI wizard instead of manually editing YAML. gh preview prompter v2.74.0 · May 2025 · source
  • List workflow runs including those that are queued or pending execution. gh run list --json status | jq -r '.[] | select(.status == "pending") | .head_branch' v2.65.0 · Jan 2025 · source
GitHub API access verified Query GitHub REST and GraphQL APIs programmatically. 22 releases · 16 other sources · first seen Jun 2020

Also counts toward: Command-line interface, GraphQL API support, REST API

release 22 total

  • Honor per-host api_host configuration to route API traffic through a custom gateway v2.100.0 · Sep 2026 · source · release history
  • Adds api_host config key (set via gh config set api_host <gateway> --host <host>, read via gh config get api_host --host <host>) to route a GitHub host's API traffic through a custom gateway, leaving auth, Git remotes, and browser URLs on the original host. v2.100.0 · Sep 2026 · source · release history
  • Both new commands support --ref to target specific branches, tags, or commits and --json, --jq, --template for scripting. v2.95.0 · Jun 2026 · source · release history
  • gh agent-task list and gh agent-task view support --json, --jq, and --template flags for programmatic output v2.88.0 · Mar 2026 · source · release history
  • Added support for multiple items in gh api nested array v2.48.0 · Apr 2024 · source · release history
  • Added support for --slurping JSON responses in gh api v2.48.0 · Apr 2024 · source · release history

command line

  • --listen — address to listen on, must be port 443 because api_host cannot carry a port v2.100.0 · Sep 2026 · command-line history
  • --log — path to append JSONL request records to v2.100.0 · Sep 2026 · command-line history
  • --upstream-host — canonical GitHub API host to forward to v2.100.0 · Sep 2026 · command-line history

example 13 total

  • Confirm the gateway is configured correctly before relying on it in CI pipelines. gh config get api_host --host github.com v2.100.0 · Sep 2026 · source
  • Route all GitHub API traffic through a corporate gateway — useful when your org requires API calls to pass through an inspection or compliance proxy. gh config set api_host gh-gateway.example.com --host github.com v2.100.0 · Sep 2026 · source
  • Output repository file metadata as JSON for programmatic processing by an agent or script. gh repo read-file README.md --repo cli/cli --json name,size v2.95.0 · Jun 2026 · source
  • Resolve ambiguity in a workspace with multiple git remotes by explicitly setting the default repository. gh repo set-default v2.21.0 · Dec 2022 · source
  • Manage GPG keys used for commit signing via CLI. gh gpg-key list --json id,title v2.2.0 · Oct 2021 · source
  • Delete a repository directly from the command line. gh repo delete <owner>/<repo> v2.2.0 · Oct 2021 · source
Repository lifecycle management shipped Create, clone, and fork repositories directly from the CLI. 27 releases · 9 other sources · first seen Mar 2020

Also counts toward: Command-line interface

release 27 total

  • gh repo clone supports new --no-upstream flag v2.88.0 · Mar 2026 · source · release history
  • Allows gh repo set-default to accept git remote names instead of just URLs. v2.85.0 · Jan 2026 · source · release history
  • Enables creation of repositories without an initial commit via bare repo support in repo create v2.63.0 · Nov 2024 · source · release history
  • Add --bare support to clone targets in gh repo clone v2.54.0 · Aug 2024 · source · release history
  • Outputs the repository URL when creating a new repo via gh repo create v2.43.0 · Jan 2024 · source · release history
  • repo fork: Set default repo when forking repo v2.37.0 · Oct 2023 · source · release history

example 9 total

  • Capture the URL of a newly created repo to open it or configure remotes immediately. gh repo create my-repo --clone && gh repo view my-repo --json url | jq -r .url v2.43.0 · Jan 2024 · source
  • Create a new repository and immediately populate it with a README file. gh repo create my-new-repo --generate-readme v2.16.0 · Sep 2022 · source
  • Clone a repository and initialize the upstream remote with a custom name. gh repo clone owner/repo --upstream-remote-name origin-upstream v2.11.0 · May 2022 · source
  • Create a new repository and import all branches from the source. gh repo create my-new-repo --include-all-branches v2.11.0 · May 2022 · source
  • Create a repo and immediately clone it locally. gh repo create myrepo --public --clone v2.3.0 · Dec 2021 · source
  • Fork a repository into your corporate org account. gh repo fork <owner>/<repo> --org <org-name> v1.10.0 · May 2021 · source
Authentication management commands shipped Manage authentication status and tokens via dedicated login, logout, and refresh commands. 25 releases · 9 other sources · first seen Sep 2020

Also counts toward: Command-line interface

release 25 total

  • Adds --expiring flag to gh auth login to sign in with short-lived, auto-refreshing OAuth credentials that rotate without requiring re-authentication.⁠︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄⁠ v2.103.0 · Oct 2026 · source · release history
  • gh auth status now shows whether a credential is refreshable and the relative time until the current access token expires. v2.103.0 · Oct 2026 · source · release history
  • gh auth login and gh auth refresh now copy OAuth device codes to the clipboard by default, removing a manual copy step during authentication.⁠︀︄︇︀︅︉︀︅︀︀︃︀︀︅︅︀︅︊︀︄︆︀︃︄⁠ v2.101.0 · Sep 2026 · source · release history
  • gh auth login and gh auth refresh now copy OAuth device codes to the clipboard by default v2.101.0 · Sep 2026 · source · release history
  • Add JSON output to gh auth status v2.81.0 · Oct 2025 · source · release history
  • Adds --clipboard (-c) flag to gh auth login and gh auth refresh to automatically copy the OAuth one-time pass code to the clipboard v2.79.0 · Sep 2025 · source · release history

docs

  • Authenticating with GitHub CLI Learn the ways to authenticate GitHub CLI, from interactive sign-in to environment variables, expiring tokens, and GitHub Actions. seen Oct 2026 · source
  • Authenticating with GitHub CLI Learn the ways to authenticate GitHub CLI, from interactive sign-in to environment variables, expiring tokens, and GitHub Actions. seen Oct 2026 · source
  • Authenticating with GitHub CLI Learn the ways to authenticate GitHub CLI, from interactive sign-in to environment variables, expiring tokens, and GitHub Actions. About authentication in GitHub CLI Most GitHub CLI commands act on your behalf on GitHub, so you need to authenticate before you can use them. docs update · Oct 2026 · source

example

  • Enable expiring, auto-refreshing OAuth tokens globally so every future gh auth login uses short-lived credentials without manual re-authentication. gh config set expiring_credentials enabled v2.103.0 · Oct 2026 · source
  • Get gh auth status output as JSON for programmatic consumption. gh auth status --json type,login v2.81.0 · Oct 2025 · source
  • Automatically copy the OAuth code to the clipboard during login. gh auth login --clipboard v2.79.0 · Sep 2025 · source
  • Display only active (non-expired) authentication tokens to quickly audit session state. gh auth status --active v2.57.0 · Sep 2024 · source
  • Force auth login to target a self-hosted instance via environment variable GH_HOST=github.mycompany.com gh auth login v2.16.1 · Sep 2022 · source
  • Set up credential helper for seamless GitHub authentication. gh auth setup-git v2.3.0 · Dec 2021 · source
Release management shipped Manage GitHub Releases for repositories. 23 releases · 11 other sources · first seen Sep 2020

Also counts toward: Command-line interface, GraphQL API support

release 23 total

  • gh release download no longer requires authentication for public repositories. v2.96.0 · Jul 2026 · source · release history
  • Adds isImmutable field to the JSON output of release list. v2.83.0 · Nov 2025 · source · release history
  • release verify and release verify-asset are now visible v2.81.0 · Oct 2025 · source · release history
  • gh release create now fails if there are no new commits since the last release, preventing empty releases. v2.68.0 · Mar 2025 · source · release history
  • Expose databaseId JSON field for release commands (e.g., gh release view --json databaseId) v2.54.0 · Aug 2024 · source · release history
  • Adds --order flag to the gh release list command to control sorting order of releases v2.44.0 · Feb 2024 · source · release history

example 11 total

  • Download release assets from a public repository without needing to log in or set a token. gh release download v2.96.0 --repo cli/cli v2.96.0 · Jul 2026 · source
  • Retrieve the databaseId of a release using JSON output. gh release view <TAG> --json databaseId v2.54.0 · Aug 2024 · source
  • Sort releases by creation date instead of the default sort order gh release list --order asc v2.44.0 · Feb 2024 · source
  • Export releases as JSON to find the latest tag automatically. gh release list --json tagName,createdAt | jq -r 'sort_by(.createdAt) | last.tagName' v2.43.0 · Jan 2024 · source
  • Create a new release and pull the body text from an existing annotated tag rather than typing it manually. gh release create v1.0.0 --notes-from-tag=v1.0.0-pre v2.35.0 · Sep 2023 · source
  • Create a release while validating the tag exists and excluding pre-release assets from publication. gh release create v1.0.0 --verify-tag --exclude-pre-releases -n 'Release notes' v2.21.0 · Dec 2022 · source
GitHub Codespaces management shipped Create, list, connect to, and manage GitHub Codespaces from the CLI. 21 releases · 11 other sources · first seen Oct 2021

Also counts toward: Command-line interface

release 21 total

  • codespace create: Poll permission acceptance endpoint on codespace creation v2.37.0 · Oct 2023 · source · release history
  • Adds --server-port=0 support to Codespaces commands for random port allocation and connection details display v2.32.0 · Jul 2023 · source · release history
  • codespace: Add capability to filter by --repo-owner v2.29.0 · May 2023 · source · release history
  • codespace list and codespace create add a --web flag. v2.28.0 · Apr 2023 · source · release history
  • Allows setting display name in gh codespace create v2.21.0 · Dec 2022 · source · release history
  • gh codespace rebuild performs incremental rebuilds by default, with --full for complete rebuilds v2.19.0 · Nov 2022 · source · release history

example 11 total

  • Start a Codespaces server instance and have the CLI print out the connection details with a randomly assigned port gh codespace create --server-port=0 v2.32.0 · Jul 2023 · source
  • Filter the list of active GitHub Codespaces to only those owned by a specific user. gh codespace list --repo-owner <username> v2.29.0 · May 2023 · source
  • Create a new codespace and automatically open the browser. gh codespace create --web v2.28.0 · Apr 2023 · source
  • Rebuild an existing Codespace configuration without destroying the machine gh cs rebuild v2.18.0 · Oct 2022 · source
  • List codespaces in a specific repository instead of the entire organization or user. gh cs list --repo <owner>/<repo> v2.14.0 · Jul 2022 · source
  • Create a codespace that automatically shuts down after 24 hours. gh codespace create --retention-period 24h v2.13.0 · Jun 2022 · source
GitHub extension management shipped Install, create, and run community extensions for the cyber tooling. 22 releases · 8 other sources · first seen Aug 2021

Also counts toward: Command-line interface, Plugin system

release 22 total

  • Extensions invoked by gh are now run with GH_EXTENSION=1 set in the environment. v2.98.0 · Aug 2026 · source · release history
  • Sets GH_EXTENSION=1 environment variable when gh invokes an extension, allowing extensions to detect they were launched by gh. v2.98.0 · Aug 2026 · source · release history
  • gh skill now supports antigravity-cli and antigravity2.0. v2.96.0 · Jul 2026 · source · release history
  • gh skill install, preview, publish, search, and update subcommands now work with GitHub Enterprise Cloud (GHEC) hosts that have data residency constraints. v2.92.0 · Apr 2026 · source · release history
  • Adds --upstream flag to gh skill install to support non-interactive installation of skills detected as re-published from an upstream source v2.91.0 · Apr 2026 · source · release history
  • Adds --allow-hidden-dirs flag to gh skill install to discover skills in dot-prefixed directories like .claude/skills/ and .agents/skills/ v2.91.0 · Apr 2026 · source · release history

example 8 total

  • Force an extension installation, overwriting any existing version. gh ext install owner/repo --force v2.25.0 · Mar 2023 · source
  • Discover and install an extension from the GitHub marketplace using the interactive list view. gh extension browse v2.20.0 · Nov 2022 · source
  • Force upgrade an extension even if it is currently pinned gh extension upgrade my-extension --force v2.19.0 · Nov 2022 · source
  • Execute a custom GitHub CLI extension script. gh extension exec my-extension v2.11.0 · May 2022 · source
  • Previews which extensions will update without making changes gh extension upgrade --dry-run v2.8.0 · Apr 2022 · source
  • Install an extension and lock it to version 1.2.0 to prevent unexpected updates in a CI pipeline. gh extension install github/gh-action-lint --version 1.2.0 v2.7.0 · Mar 2022 · source
CLI configuration management shipped Set and manage default configuration options such as protocol preference. 13 releases · 5 other sources · first seen Apr 2020

Also counts toward: Command-line interface

release 13 total

  • Adds expiring_credentials enabled setting to gh config set to prefer expiring credentials for every sign-in globally. v2.103.0 · Oct 2026 · source · release history
  • Adds clipboard config setting to control clipboard behavior in authentication flows v2.101.0 · Sep 2026 · source · release history
  • Expose the api_host setting via gh config get and gh config set commands v2.100.0 · Sep 2026 · source · release history
  • gh config: adds config settings for accessible prompter and disabling spinner. v2.71.0 · Apr 2025 · source · release history
  • Introduces GH_PATH environment variable to override the default configuration directory location. v2.24.0 · Mar 2023 · source · release history
  • gh config list command added to display the current configuration settings. v2.3.0 · Dec 2021 · source · release history

example

  • Persistently opt out of automatic clipboard copying of OAuth device codes across all future auth flows. gh config set clipboard disabled v2.101.0 · Sep 2026 · source
  • Retrieve the currently configured API host for a specific GitHub instance. gh config get api_host --host github.com v2.100.0 · Sep 2026 · source
  • Set the default remote (e.g., upstream) as the repo for subsequent commands like gh browse. gh repo set-default upstream v2.85.0 · Jan 2026 · source
  • Override the configuration file location using the new environment variable. GH_PATH=/custom/path gh repo list v2.24.0 · Mar 2023 · source
  • Use gh config to set SSH as the default protocol for Git operations. gh config set git-protocol ssh v0.7.0 · Apr 2020 · source
AI agent skill integrations shipped Integrate with external AI agent platforms (such as Grok and Devin) via the `gh skill` command. 10 releases · 8 other sources · first seen Sep 2025

Also counts toward: Command-line interface

release 10 total

  • Adds Grok skill host support to gh skill agent integrations. v2.97.0 · Jul 2026 · source · release history
  • Replaces Windsurf with Devin in the gh skill agent roster. v2.97.0 · Jul 2026 · source · release history
  • gh skill detects additional third-party coding agents. v2.96.0 · Jul 2026 · source · release history
  • gh skill list — List installed agent skills v2.94.0 · Jun 2026 · source · release history
  • Adds the --allow-hidden-dirs flag to the gh skill preview command, enabling previews of skills located in hidden directories such as .claude/skills/ or .agents/skills/. v2.92.0 · Apr 2026 · source · release history
  • gh telemetry subcommand added to manage or inspect collected telemetry data v2.91.0 · Apr 2026 · source · release history

example 8 total

  • List all locally installed gh skills to audit available agent capabilities. gh skill list v2.94.0 · Jun 2026 · source
  • Install a skill located in a hidden dot-directory that standard discovery might skip. gh skill install --allow-hidden-dirs .claude/skills/myskill v2.91.0 · Apr 2026 · source
  • Force installation from the detected upstream source for a re-published skill in a script. gh skill install --upstream my-repo/skill-package v2.91.0 · Apr 2026 · source
  • Discover AI skills for Copilot related to security directly from the terminal. gh skill search copilot security v2.90.0 · Apr 2026 · source
  • Publish a new skill after validating it locally without pushing remote state yet. gh skill publish --dry-run v2.90.0 · Apr 2026 · source
  • Create an agent task using a custom agent definition instead of the default. gh agent-task create --custom-agent "my-custom-agent" v2.83.0 · Nov 2025 · source
Repository secret management shipped Set, list, and delete repository or organization secrets via a dedicated subcommand group. 11 releases · 5 other sources · first seen Dec 2020

Also counts toward: Command-line interface

release 11 total

  • gh secret set now supports setting secrets for agents v2.93.0 · May 2026 · source · release history
  • Adds --ref option to gh cache delete to target a specific branch or tag when removing caches v2.79.0 · Sep 2025 · source · release history
  • Adds --no-repos-selected flag to gh secret set to handle secret operations when no repository context is active v2.75.0 · Jul 2025 · source · release history
  • gh secret list, gh secret set, and gh secret delete now require explicit repository selection via -R, --repo when multiple git remotes are present. v2.66.0 · Jan 2025 · source · release history
  • gh secret list, gh secret set, and gh secret delete will fail with an ambiguity error if multiple remotes are configured and -R, --repo is not explicitly provided. v2.66.0 · Jan 2025 · source · release history
  • Added numSelectedRepos to JSON output of gh secret list v2.48.0 · Apr 2024 · source · release history

example

  • Manage secrets in a forked repo where upstream is the default remote by explicitly specifying the target. gh secret set MY_SECRET -b 'value' -R my-fork/my-repo v2.66.0 · Jan 2025 · source
  • List all variables available in the current organization context. gh variable list --org my-org v2.25.0 · Mar 2023 · source
  • Import environment variables from a local .env file into GitHub Actions secrets for a specific repository. gh secret set --env-file .env --repo octo-org/octo-repo v2.4.0 · Dec 2021 · source
  • Print the encoded secret for gh secret set without storing it, useful for CI pipelines or external vaults. gh secret set MY_SECRET --body 'value' --no-store v2.3.0 · Dec 2021 · source
  • Push a local file content as a secret named API_KEY to the current repository. gh secret set API_KEY < api_key.txt v1.4.0 · Dec 2020 · source
Artifact attestation verification shipped Inspect, verify, and manage cryptographic attestations for repository artifacts and OCI images to establish provenance and integrity. 8 releases · 8 other sources · first seen Apr 2024

Also counts toward: Command-line interface

release 8 total

  • Enhances gh attestation commands with retry logic when fetching Trusted Uniform Format (TUF) content to improve reliability v2.74.0 · May 2025 · source · release history
  • gh attestation verify now accepts --signer-digest, --source-ref, and --source-digest to validate attestations with specific constraints. v2.68.0 · Mar 2025 · source · release history
  • gh attestation verify prints policy information before performing verification v2.64.0 · Dec 2024 · source · release history
  • Fetches the attestation bundle from an OCI registry for gh attestation verify v2.56.0 · Sep 2024 · source · release history
  • Introduces the gh attestation verify command to check integrity and provenance of artifacts, including local files and OCI images (oci://...). v2.49.0 · Apr 2024 · source · release history
  • Enables offline verification mode via a dedicated offline path for gh attestation verify. v2.49.0 · Apr 2024 · source · release history

example 8 total

  • Verify an asset from the latest release has a valid attestation. gh release verify-asset my-asset.zip v2.81.0 · Oct 2025 · source
  • Verify an attestation from a specific source commit hash. gh attestation verify artifact.tar.gz --source-ref abc123 v2.68.0 · Mar 2025 · source
  • Verify an attestation by fetching the bundle directly from an OCI registry instead of OIDC metadata gh attestation verify --bundle-from-oci oci://registry.example.io/attestations:latest ./sigstore v2.64.0 · Dec 2024 · source
  • Verify an artifact's provenance only if it was signed by a specific GitHub Actions workflow run. gh attestation verify <artifact> --signer-repo octo-org/octo-app --signer-workflow .github/workflows/sign.yml v2.51.0 · Jun 2024 · source
  • Download the attestation bundle for a specific artifact to inspect its signed metadata locally. gh attestation download artifact.bin -o <your org> v2.49.0 · Apr 2024 · source
  • Verify the provenance of an OCI image stored in GitHub Container Registry before use. gh attestation verify oci://ghcr.io/foo/bar:latest -o <your org> v2.49.0 · Apr 2024 · source
Repository file and directory browsing verified Read files and list directories in a repository directly from the CLI. 5 releases · 5 other sources · first seen Feb 2020

release

  • Introduces gh repo read-dir to list directory entries in a repository without cloning. v2.95.0 · Jun 2026 · source · release history
  • Introduces gh repo read-file to read individual repository files to stdout, disk, or formatted output without cloning. v2.95.0 · Jun 2026 · source · release history
  • gh browse supports new --blame flag v2.88.0 · Mar 2026 · source · release history
  • Automatically sets up fish completion when installing via Homebrew v0.5.3 · Feb 2020 · source · release history
  • Configures gh for scoop package manager installation v0.5.3 · Feb 2020 · source · release history

command line

example

  • Read a configuration file from a specific release tag to verify its content without cloning the repository. gh repo read-file go.mod --ref v2.94.0 --repo cli/cli v2.95.0 · Jun 2026 · source
  • List all entries in a specific source directory to audit structure for automation. gh repo read-dir src --repo cli/cli v2.95.0 · Jun 2026 · source
  • View details of a specific repository in the terminal. gh repo view cli/cli v0.6.0 · Mar 2020 · source
GitHub Discussions management verified Work with GitHub Discussions from the CLI. 7 releases · 3 other sources · first seen Jan 2023

Also counts toward: Command-line interface

release 7 total

  • gh discussion comment <id> — Add a comment to a discussion v2.94.0 · Jun 2026 · source · release history
  • gh discussion create — Create a new discussion v2.94.0 · Jun 2026 · source · release history
  • gh discussion comment <url> — Reply to a specific comment via its URL v2.94.0 · Jun 2026 · source · release history
  • gh discussion list — List discussions v2.94.0 · Jun 2026 · source · release history
  • gh discussion view <id> --comments — View a discussion with its comments v2.94.0 · Jun 2026 · source · release history
  • gh discussion edit <id> — Edit an existing discussion v2.94.0 · Jun 2026 · source · release history

command line

example

  • View the first discussion in a repo along with its full comment thread. gh discussion list | head -n 1 | awk '{print $1}' | xargs -I{} gh discussion view {} --comments v2.94.0 · Jun 2026 · source
  • Enable discussions on a repository via the CLI. gh repo edit my-repo --enable-discussions v2.22.0 · Jan 2023 · source
Gist management shipped List, view, and edit gists directly from the CLI. 8 releases · 1 other source · first seen Sep 2020

Also counts toward: Command-line interface

release 8 total

  • Adds filtering support to the gist list command v2.59.0 · Oct 2024 · source · release history
  • Adds support for renaming gists directly from the CLI (gh gist rename) v2.26.0 · Apr 2023 · source · release history
  • Allows non-interactive file replacement in the gist edit command for scripted workflows. v2.8.0 · Apr 2022 · source · release history
  • Adds -a <file> flag to gist edit to add files to a gist v1.7.0 · Mar 2021 · source · release history
  • Allows pr edit and gist view commands to be run without arguments to use interactive prompts v1.7.0 · Mar 2021 · source · release history
  • --files flag on gist view to list filenames v1.6.0 · Feb 2021 · source · release history

example

  • Filter gists by language to find specific code snippets gh gist list --language python v2.59.0 · Oct 2024 · source
Repository search and filtering shipped Search for repositories on GitHub using various filters such as language, topic, license, and issue count, with support for JSON output for scripting. 7 releases · 2 other sources · first seen Mar 2022

Also counts toward: Command-line interface, JSON data export, Scripting API

release 7 total

  • search code command for code search from the CLI v2.31.0 · Jun 2023 · source · release history
  • search: enables the --owner flag to take multiple values. v2.28.0 · Apr 2023 · source · release history
  • repo output now includes a visibility JSON field. v2.28.0 · Apr 2023 · source · release history
  • Adds the search commits command to enable searching commit history from the CLI v2.22.0 · Jan 2023 · source · release history
  • gh repo list --topic now accepts multiple topics in a single invocation v2.19.0 · Nov 2022 · source · release history
  • Exposes repository name without owner prefix in search command output v2.15.0 · Sep 2022 · source · release history

example

  • Execute a code search directly from the terminal. gh search code 'fatal error' --limit 10 v2.31.0 · Jun 2023 · source
  • Search for Go repositories with at least 10 good-first-issue labels to find contributable projects. gh search repos --language=go --good-first-issues='>=10' v2.6.0 · Mar 2022 · source
Label management shipped Create, list, and delete labels for repositories directly from the CLI, with support for JSON output. 5 releases · 3 other sources · first seen Mar 2022

Also counts toward: Command-line interface, JSON data export

release

  • label remove command added to delete repository labels. v2.10.0 · May 2022 · source · release history
  • label list now supports sorting labels in the output. v2.10.0 · May 2022 · source · release history
  • label edit: Command to edit existing labels v2.9.0 · Apr 2022 · source · release history
  • label clone: Command to clone labels between repositories v2.9.0 · Apr 2022 · source · release history
  • label list and label create commands for managing labels directly from the CLI v2.7.0 · Mar 2022 · source · release history

example

  • List labels in JSON format for use in scripts or automation pipelines. gh label list --json name,description,id v2.10.0 · May 2022 · source
  • Delete a label named deprecated from the current repository. gh label remove deprecated v2.10.0 · May 2022 · source
  • Copy all labels from one repository to another. gh label clone --source-owner <SOURCE_OWNER> <SOURCE_REPO> v2.9.0 · Apr 2022 · source
Project item field editing verified Edit project item fields by name — including single-select options like Status — without requiring internal numeric IDs. 3 releases · 4 other sources · first seen Jun 2023

release

  • gh project item-edit now accepts --field <name> to reference project fields by name instead of ID v2.97.0 · Jul 2026 · source · release history
  • Adds name-based field and single-select option resolution to gh project item-edit, so you can set fields like Status to In Progress without knowing internal IDs. v2.97.0 · Jul 2026 · source · release history
  • project command suite for interacting with GitHub Projects v2.31.0 · Jun 2023 · source · release history

command line

  • --value — Value to set on the field named by `--field` v2.97.0 · Jul 2026 · command-line history

example

  • Update a project item's Status field by name instead of requiring numeric field/option IDs. gh project item-edit 1 --owner monalisa --url <url> --field "Status" --value "In Progress" v2.97.0 · Jul 2026 · source
  • Update a project item using the field name Status rather than looking up its numeric ID. gh project item-edit 1 --owner monalisa --url <url> --field "Status" --value "In Progress" v2.97.0 · Jul 2026 · source
  • Use the new project commands to list or manage projects. gh project list v2.31.0 · Jun 2023 · source
Repository and organization variable management shipped Create, list, and delete repository and organization variables used in workflows. 4 releases · 3 other sources · first seen Mar 2023

Also counts toward: Command-line interface, JSON data export

release

  • Adds --json option to variable get command for machine-readable output v2.53.0 · Jul 2024 · source · release history
  • Add a gh variable get FOO command to manage repository or organization environment variables directly from the CLI. v2.50.0 · May 2024 · source · release history
  • Adds --json flag to gh variable list to export variables in structured JSON format v2.43.0 · Jan 2024 · source · release history
  • Adds the variable set, variable list, and variable delete subcommands to manage Repository and Organization variables v2.25.0 · Mar 2023 · source · release history

example

  • Retrieve repository variables in JSON format for scripting. gh variable get MY_VAR --json value,repo v2.53.0 · Jul 2024 · source
  • Export org variables as JSON for parsing in scripts or CI pipelines. gh variable list --org my-org --json name,setValue | jq -r '.[] | .name' v2.43.0 · Jan 2024 · source
  • List all variables available in the current organization context. gh variable list --org my-org v2.25.0 · Mar 2023 · source
Update notification suppression shipped Disable CLI update check prompts via environment variables, particularly useful for automated environments. 3 releases · 3 other sources · first seen Oct 2020

Also counts toward: CI/CD pipeline integration

release

  • Extension update notices can be disabled globally by setting the GH_NO_EXTENSION_UPDATE_NOTIFIER environment variable. v2.66.0 · Jan 2025 · source · release history
  • Enables GH_PROMPT_DISABLED environment variable to disable interactive prompting in the CLI v2.14.5 · Aug 2022 · source · release history
  • Adds GH_NO_UPDATE_NOTIFIER environment variable to disable update check prompts v1.2.0 · Oct 2020 · source · release history

example

  • Suppress noisy extension update notifications in CI or scripts. GH_NO_EXTENSION_UPDATE_NOTIFIER=1 gh extension upgrade v2.66.0 · Jan 2025 · source
  • Run gh commands in automated scripts where interactive prompts would cause hangs or errors. GH_PROMPT_DISABLED=1 gh pr list v2.14.5 · Aug 2022 · source
  • Suppress update prompts during CI pipeline execution export GH_NO_UPDATE_NOTIFIER=1 && gh pr list v1.2.0 · Oct 2020 · source
Alias command expansion shipped Create and manage shortcuts for complex commands using positional arguments. 4 releases · 2 other sources · first seen Jun 2020

Also counts toward: Command-line interface

release

  • Adds the --clobber flag to gh alias set to allow overwriting existing aliases without confirmation. v2.33.0 · Aug 2023 · source · release history
  • Support for nested aliases v2.30.0 · May 2023 · source · release history
  • Allows passing the value for gh alias set via standard input (stdin). v1.10.0 · May 2021 · source · release history
  • Adds gh alias command with $1, $2 positional placeholders v0.10.0 · Jun 2020 · source · release history

example

  • Overwrite an existing gh alias in scripts without interactive prompts. gh alias set --clobber ll "log -10 --oneline" v2.33.0 · Aug 2023 · source
  • Import existing alias definitions into the local GitHub CLI configuration. gh alias import < path/to/aliases.yaml v2.29.0 · May 2023 · source
Terminal escape sequence output verified Allow terminal escape sequences to be printed in CLI output via a dedicated flag. 2 releases · 3 other sources · first seen Apr 2020

Also counts toward: Command-line interface

release

  • Outputs text-only spinner output when gh is invoked by a coding agent, improving agent-readable output. v2.99.0 · Sep 2026 · source · release history
  • Adds GH_FORCE_TTY environment variable to force terminal-style output when redirected v2.0.0 · Aug 2021 · source · release history

command line

  • --allow-escape-sequences — Allow printing terminal escape sequences v2.95.0 · Jun 2026 · command-line history

example

  • Force terminal output even when piped or redirected to a file. GH_FORCE_TTY=1 gh issue list v2.0.0 · Aug 2021 · source
  • Run CLI commands without ANSI color codes, useful for piping output in scripts. NO_COLOR=1 gh pr list v0.7.0 · Apr 2020 · source
Repository creation from templates shipped Create new repositories initialized with content from a specified template repository. 3 releases · 2 other sources · first seen Sep 2020

release

  • gh repo edit now accepts the --security-and-analysis flag to configure repository security settings. v2.65.0 · Jan 2025 · source · release history
  • repo create: Allow creating repositories from templates in interactive mode v2.37.0 · Oct 2023 · source · release history
  • Enables creating repositories from templates via gh repo create <reponame> --template <owner>/<templaterepo> v0.12.0 · Sep 2020 · source · release history

example

  • Enable secret scanning and code security analysis on an existing repository via CLI. gh repo edit <repo> --security-and-analysis=secret_scanning,code_security v2.65.0 · Jan 2025 · source
  • Create a repository using a template while simultaneously disabling issues and setting a homepage URL. gh repo create my-new-repo --template=octocat/Hello-World --disable-issues --homepage=https://example.com v2.37.0 · Oct 2023 · source
GPG key management shipped Manage GPG keys used for commit signing via the CLI. 3 releases · 2 other sources · first seen Oct 2021

Also counts toward: Command-line interface

release

  • Adds gh org list subcommand to list organizations. v2.28.0 · Apr 2023 · source · release history
  • Extends gpg-key add with a --title argument to assign a custom name to the uploaded GPG key. v2.24.0 · Mar 2023 · source · release history
  • gh gpg-key list output includes a header row. v2.17.0 · Oct 2022 · source · release history

example

  • List all organizations visible to the current user. gh org list v2.28.0 · Apr 2023 · source
  • Manage GPG keys used for commit signing via CLI. gh gpg-key list --json id,title v2.2.0 · Oct 2021 · source
CLI accessibility configuration shipped Configure and control accessible UI elements such as high-contrast colors, non-interactive input prompting, and text-based spinners via CLI help or preview subcommands. 3 releases · 1 other source · first seen Apr 2025

Also counts toward: Command-line interface

release

  • Introduces the preview prompter subcommand for interactive workflow configuration v2.74.0 · May 2025 · source · release history
  • Introduces accessible prompter for screen readers (preview) v2.70.0 · Apr 2025 · source · release history
  • Adds experimental support for rendering markdown with customizable, accessible colors v2.70.0 · Apr 2025 · source · release history

example

  • Explore the new accessible features via CLI help gh accessibility v2.72.0 · Apr 2025 · source
GitHub Enterprise Server support shipped Connect to GitHub Enterprise instances by setting the default hostname. 3 releases · 1 other source · first seen Sep 2020

Also counts toward: Command-line interface

release

  • gh can now be installed via Webi (webi.installs) alongside existing methods. v2.42.1 · Jan 2024 · source · release history
  • auth login and repo delete now respect the GH_HOST environment variable for host targeting v2.16.1 · Sep 2022 · source · release history
  • Adds support for GitHub Enterprise Server using GH_HOST environment variable to set the default hostname v0.12.0 · Sep 2020 · source · release history

example

  • Install the latest GitHub CLI release on your system using the Webi installer script. sh -ci "$(wget https://webi.sh/gh -O-)"" v2.42.1 · Jan 2024 · source
Repository ruleset management shipped Create, list, and manage repository rulesets directly from the CLI. 3 releases · 1 other source · first seen Jul 2023

Also counts toward: Command-line interface

release

  • Adds missing ls aliases to list subcommands, enabling gh ruleset ls shorthand syntax. v2.33.0 · Aug 2023 · source · release history
  • Allows using the --org parameter in lieu of a repo context for rulesets subcommands. v2.33.0 · Aug 2023 · source · release history
  • Adds gh ruleset command to manage repository rulesets in beta v2.32.0 · Jul 2023 · source · release history

example

  • Use the new shorthand alias for listing rulesets without navigating into a repo. gh ruleset ls --org my-org v2.33.0 · Aug 2023 · source
Credential helper configuration shipped Configure the cyber tooling as a git credential helper for seamless authentication. 1 release · 2 other sources · first seen Dec 2021

Also counts toward: Command-line interface, Single sign-on

release

  • gh auth setup-git command added to configure gh-cli as a git credential helper. v2.3.0 · Dec 2021 · source · release history

example

  • Opt in to expiring credentials for a single sign-in and configure git to use gh as the credential helper so expiring tokens are served and refreshed for git operations. gh auth login --expiring && gh auth setup-git v2.103.0 · Oct 2026 · source
  • Set up credential helper for seamless GitHub authentication. gh auth setup-git v2.3.0 · Dec 2021 · source
Interactive TUI prompter shipped Enable experimental terminal-based interactive prompts for commands using the charmbracelet/huh library. 2 releases · 1 other source · first seen Mar 2026

Also counts toward: Command-line interface

release

  • Prints full command help when gh is invoked by a coding agent after command misuse, improving agent-driven workflows. v2.100.0 · Sep 2026 · source · release history
  • Adds experimental TUI prompter via GH_EXPERIMENTAL_PROMPTER=1 using charmbracelet/huh. v2.89.0 · Mar 2026 · source · release history

example

  • Enable the experimental TUI prompter for interactive commands. export GH_EXPERIMENTAL_PROMPTER=1 gh issue create --title 'New bug' v2.89.0 · Mar 2026 · source
Project item listing with named field columns shipped List project items with selected named fields, such as Status and Priority, displayed as extra columns in the output. 2 releases · 1 other source · first seen Feb 2026

release

  • Adds --field flag to gh project item-list to display named project fields as extra columns in output. v2.97.0 · Jul 2026 · source · release history
  • Adds --query flag to gh project item-list for filtering items v2.87.0 · Feb 2026 · source · release history

example

  • List project items with Status and Priority shown as named columns for quick triage. gh project item-list 1 --owner "@me" --field "Status" --field "Priority" v2.97.0 · Jul 2026 · source
Project template configuration shipped Configure and control project template options for GitHub Projects. 2 releases · 1 other source · first seen Sep 2023

Also counts toward: Command-line interface

release

  • Supports TTY output for project view --web, allowing interactive terminal interaction when opening project views v2.45.0 · Mar 2024 · source · release history
  • project mark-template: New subcommand to control project template options. v2.34.0 · Sep 2023 · source · release history

example

  • Open a project view in the default browser while preserving terminal interactivity. gh project view --web <project-id> v2.45.0 · Mar 2024 · source
SSH key management shipped Manage SSH keys associated with the GitHub account via dedicated subcommands such as delete. 2 releases · 1 other source · first seen Oct 2022

Also counts toward: Command-line interface

release

  • ssh-key: adds ability to manage signing keys in addition to regular SSH keys. v2.28.0 · Apr 2023 · source · release history
  • Adds the ssh-key delete subcommand to remove SSH keys via CLI v2.18.0 · Oct 2022 · source · release history

example

  • Delete a specific SSH key from your GitHub account via CLI gh ssh-key delete <key-id> v2.18.0 · Oct 2022 · source
PR check monitoring shipped Monitor pull request checks until they complete or timeout, facilitating CI/CD integration. 1 release · 2 other sources · first seen Feb 2022

Also counts toward: CI/CD pipeline integration, Command-line interface

release

  • Adds --fail-fast option to gh pr checks --watch to stop watching on the first check failure v2.26.0 · Apr 2023 · source · release history

example

  • Stop watching PR checks immediately if the first one fails, useful for fast CI feedback loops. gh pr checks --watch --fail-fast v2.26.0 · Apr 2023 · source
  • Monitor pull request checks until they complete or timeout, useful for CI/CD pipelines. gh pr checks --watch <PR_NUMBER> v2.5.1 · Feb 2022 · source
Issue artifact management verified Manage artifacts associated with GitHub issues via dedicated CLI subcommands for listing, viewing, creating, editing, downloading, and deleting issue artifacts. 1 release · 1 other source · first seen Oct 2026

Also counts toward: Command-line interface

release

  • Adds new gh issue artifact command group with list, view, create, edit, download, and delete subcommands for managing issue artifacts from the CLI (private preview). v2.103.0 · Oct 2026 · source · release history

command line

Browserless authentication flow shipped Authenticate using the OAuth Device Authorization flow for environments without a browser. 1 release · 1 other source · first seen Sep 2020

release

  • Implements OAuth Device Authorization flow for github.com to enable browserless authentication v0.12.0 · Sep 2020 · source · release history

example

  • Disable automatic clipboard copying during GitHub authentication. gh config set clipboard disabled v2.101.0 · Sep 2026 · source
Telemetry management and inspection shipped Manage and inspect collected telemetry data via a dedicated subcommand. 1 release · 1 other source · first seen Apr 2026

Also counts toward: Command-line interface

release

  • gh telemetry subcommand added to manage or inspect collected telemetry data v2.91.0 · Apr 2026 · source · release history

example

  • View collected telemetry data without leaving the CLI. gh telemetry v2.91.0 · Apr 2026 · source
Git template management shipped List and retrieve available gitignore and license templates directly from the CLI. 1 release · 1 other source · first seen Oct 2024

Also counts toward: Command-line interface

release

  • Adds repo license list and repo gitignore list subcommands to view available licenses and gitignores v2.59.0 · Oct 2024 · source · release history

example

  • List all gitignore templates available on GitHub directly from the terminal gh repo gitignore list v2.59.0 · Oct 2024 · source
Bulk alias deletion shipped Remove multiple or all CLI aliases in a single command operation. 1 release · 1 other source · first seen Sep 2023

Also counts toward: Command-line interface

release

example

  • Remove all local CLI aliases in one command instead of looping through them individually. gh alias delete --all v2.35.0 · Sep 2023 · source
Workflow run deletion shipped Delete specific workflow runs by ID. 1 release · 1 other source · first seen Apr 2023

Also counts toward: Command-line interface

release

example

  • Delete a specific workflow run using its ID. gh run delete <run-id> v2.27.0 · Apr 2023 · source
Dependabot integration shipped Support for managing Dependabot secrets to automate dependency updates within GitHub Actions workflows. 2 releases · first seen Mar 2022

Also counts toward: CI/CD pipeline integration

release

  • Support for Dependabot secrets allows automated dependency updates within GitHub Actions workflows v2.7.0 · Mar 2022 · source · release history
  • Support for setting Dependabot secrets v2.6.0 · Mar 2022 · source · release history
Repository deletion shipped Delete a repository directly from the command line. 1 release · 1 other source · first seen Oct 2021

Also counts toward: Command-line interface

release

example

  • Delete a repository directly from the command line. gh repo delete <owner>/<repo> v2.2.0 · Oct 2021 · source
Repository archive management shipped Create an archive of a repository directly from the CLI. 1 release · 1 other source · first seen Oct 2021

Also counts toward: Command-line interface

release

  • Adds repo archive command to create a repository archive v2.1.0 · Oct 2021 · source · release history

example

  • Create an archive of the current repository directly from the CLI. gh repo archive v2.1.0 · Oct 2021 · source
Terminal paging configuration shipped Control terminal output paging via environment variables and config options, including bypass mechanisms. 2 releases · first seen Sep 2020

release

  • Adds support for the GH_PAGER environment variable to override the default pager v1.1.0 · Oct 2020 · source · release history
  • Adds support for PAGER environment variable and pager config option for terminal paging v1.0.0 · Sep 2020 · source · release history
Silent API output mode shipped Suppress HTTP response headers when using the API command in scripts. 1 release · 1 other source · first seen Jul 2020

Also counts toward: Command-line interface

release

  • gh api --silent flag added to suppress HTTP response printing v0.11.0 · Jul 2020 · source · release history

example

  • Run gh api in scripts without capturing the response body. gh api --silent /repos/{owner}/{repo}/issues v0.11.0 · Jul 2020 · source
Repository inspection shipped View repository details and metadata directly in the terminal without opening a web browser. 1 release · 1 other source · first seen Mar 2020

release

  • Enables viewing a repository directly in the terminal via gh repo view v0.6.3 · Mar 2020 · source · release history

example

  • Inspect repository details in the terminal without opening a browser. gh repo view github/cli v0.6.3 · Mar 2020 · source
Shell completion configuration shipped Generate and source completion scripts for supported shells. 1 release · 1 other source · first seen Mar 2020

Also counts toward: Command-line interface

release

  • Adds PowerShell as a supported shell for tab-completion via gh completion --shell=PowerShell v0.6.2 · Mar 2020 · source · release history

example

  • Generate completion script for PowerShell and source it in your profile. gh completion --shell=PowerShell >> $PROFILE v0.6.2 · Mar 2020 · source
Extension browser TUI shipped Browse and discover GitHub CLI extensions using an interactive Bubble Tea terminal UI, replacing the previous `gh extension browse` command. 1 release · first seen Oct 2026

release

Repository metadata display shipped Display repository star and watcher counts during interactive operations. 1 release · first seen Nov 2024

release

  • Displays repository star and watcher counts in the interactive gh repo edit prompt when changing visibility v2.61.0 · Nov 2024 · source · release history
Codespace port forwarding shipped Forward local ports to Codespaces via Dev Tunnels. 1 release · first seen Oct 2023

release

  • codespace ports: Forward codespace ports over Dev Tunnels v2.36.0 · Oct 2023 · source · release history
Organization listing shipped List organizations visible to the authenticated user. 1 release · first seen Apr 2023

Also counts toward: Command-line interface

release

Commit history searching shipped Search commit history in repositories from the CLI. 1 release · first seen Jan 2023

Also counts toward: Command-line interface

release

  • Adds the search commits command to enable searching commit history from the CLI v2.22.0 · Jan 2023 · source · release history
Codespaces repository shorthand enforcement shipped Require explicit repository flags (-R) for Codespaces commands to resolve ambiguity in multi-remote workspaces. 1 release · first seen Dec 2022

Also counts toward: Command-line interface

release

  • codespace create and other Codespaces commands now require -R for the repo shorthand; -r is deprecated. v2.21.0 · Dec 2022 · source · release history
Nested JSON object support in API queries shipped Pass nested JSON structures to an API endpoint using bracket syntax for keys and arrays. 1 other source · first seen Dec 2022

example

  • Pass nested JSON structures to an API endpoint using the new bracket syntax for keys and arrays. gh api repos/{owner}/{repo}/issues -X POST -f 'head[branch][name]=main' -f 'labels[]=bug' v2.21.0 · Dec 2022 · source
Release tag cleanup on deletion shipped Remove associated Git tags when a Release is deleted via the CLI. 1 release · first seen Oct 2022

release

  • Adds --cleanup-tag flag to release delete to remove associated tags v2.18.0 · Oct 2022 · source · release history
Token export capability shipped Export personal access tokens for use in scripts or other tools. 1 other source · first seen Oct 2022

example

  • Export your personal access token for use in scripts or other tools. gh auth token v2.17.0 · Oct 2022 · source
Dynamic JQ expression support shipped Allow the use of environment variables inside --jq expressions on commands that support JSON filtering. 1 release · first seen Aug 2022

Also counts toward: Command-line interface

release

  • Allows use of environmental variables inside --jq expressions on commands that support JSON filtering v2.14.5 · Aug 2022 · source · release history
Deployment key management shipped Manage deploy keys for a repository via the `repo deploy-key` command group. 1 release · first seen Feb 2022

Also counts toward: Command-line interface

release

  • Add repo deploy-key commands to manage deploy keys for a repository v2.5.0 · Feb 2022 · source · release history
Environment secret management shipped List secrets associated with a specific GitHub Actions environment. 1 other source · first seen Jun 2021

example

  • List all secrets associated with a specific GitHub Actions environment gh secret list --env production v1.11.0 · Jun 2021 · source
Customizable color themes shipped Configure output color schemes using environment variables. 1 release · first seen Jul 2020

release

  • Enables setting GLAMOUR_STYLE environment variable to configure custom color themes v0.11.1 · Jul 2020 · source · release history
Paginated API responses shipped Automatically fetch all pages of results from REST and GraphQL endpoints. 1 release · first seen Jun 2020

Also counts toward: Command-line interface, GraphQL API support, REST API

release

  • Adds the --paginate flag to the gh api command to automatically fetch all pages of results v0.10.1 · Jun 2020 · source · release history

Lines in monospace are the tool's own words: help text parsed from its source, or an endpoint from its API document. Under release, a line is our summary of a dated release. Under docs, it is quoted from the tool's own documentation or website. Each links back to the source it came from.

Score card

  1. Shipping velocity releases a month, last 12 months
  2. Documentation quality release-notes rubric, 0–100
  3. Breaking-change discipline how rarely a release breaks users, and notice given
  4. Maintenance risk quiet time against its own cadence, maintainers
  5. Innovation & surface new capabilities, API and MCP surface
  6. Community health
  7. Contributor trend distinct committers, this year against last
  8. Maintainer concentration bus factor now against a year ago
  9. Issue backlog trend issues closed per issue opened, 12 months
  10. Responsiveness median time to a maintainer’s first reply

Nine scores for GitHub CLI, each built from the releases, notes and API history this site tracks — and, on Researcher and Business, where it stands among every measured tool in its category and how that has moved.

Score cards are part of every paid plan.

See plans →

Each score is 0–100 on a published rubric, derived from data this site already shows. A dimension we cannot measure says so — it is never scored 0 and never enters a rank.

How this is scored
  • Shipping velocity — releases a month over the last 12 months, on a log scale where 16 a month scores 100. Needs 3 releases in the window.
  • Documentation quality — the release-notes rubric published on the analytics page, unchanged.
  • Breaking-change discipline — the share of releases carrying a breaking change (none scores 100, half or more scores 0). Only projects that label breaking changes are measured: a clean record cannot be told from an unlabelled one.
  • Maintenance risk — quiet time measured against the tool's own release cadence (quiet longer than 90 days and three typical gaps scores 0), plus the number of active maintainers and whether contributors are growing, where known. Higher is lower risk.
  • Innovation & surface — new capabilities in the feature ledger this year, API and MCP operations added, and the share of commits that are features: the mean of whichever we hold.
  • Community health (open-source tools only) — each is a direction, not a size: contributors this year against last, the bus factor now against a year ago, and issues closed per issue opened, where steady scores 50, doubled 100 and halved 0; plus the median time to a maintainer's first reply (an hour scores about 100, a month or more 0). A commercial card has no repository and carries none of the four.
  • Documented delivery (commercial tools) — when a vendor's documented new capabilities have slowed against its own baseline, that counts against the overall standing as heavily as two low dimensions. Steady delivery, or too little history to judge, leaves the standing alone; it is never a sixth score.
  • Open-source tools are scored on repository signals; commercial tools on their published changelog. Ranks compare tools within one category and one profile and need at least five measured peers; the overall standing needs three ranked dimensions. Best-in-breed or consolidator is a shape, not a quality, and is never scored.

Release-note detail over time

See how much detail GitHub CLI puts in its release notes, quarter by quarter, and compare it with tracked tools in the same category. This history uses up to ten retained, reviewed notes per tool; sparse or blank older quarters may reflect that limit.

Checking release-note history…

Explore the full chart →

Website history

github.blog, every change

GitHub's home page and 40 more pages as they looked each month from September 2021 to October 2026: 188 renders, 87 changes of tagline or palette. Step through them, play them, or put any two months side by side.

Website history is included with Researcher and Business.

See plans →

Releases

Show

146 entries

  1. October 20262
  2. September 20264
  3. August 20262
  4. July 20266
  5. June 20262
  6. May 20262
  7. April 20263
  8. March 20262
  9. February 20261
  10. January 20262
  11. November 20251
  12. October 20251
  13. September 20252
  14. August 20252
  15. July 20252
  16. May 20252
  17. April 20253
  18. March 20252
  19. February 20252
  20. January 20252
  21. December 20242
  22. November 20244
  23. October 20241
  24. September 20242
  25. August 20242
  26. July 20241
  27. June 20242
  28. May 20241
  29. April 20243
  30. March 20242
  31. February 20241
  32. January 20242
  33. December 20231
  34. November 20233
  35. October 20232
  36. September 20232
  37. August 20231
  38. July 20231
  39. June 20231
  40. May 20232
  41. April 20233
  42. March 20232
  43. February 20231
  44. January 20232
  45. December 20221
  46. November 20222
  47. October 20222
  48. September 20223
  49. August 20221
  50. July 20221
  51. June 20222
  52. May 20222
  53. April 20222
  54. March 20223
  55. February 20222
  56. December 20212
  57. October 20212
  58. August 20212
  59. July 20211
  60. June 20212
  61. May 20211
  62. April 20211
  63. March 20212
  64. February 20211
  65. January 20211
  66. December 20201
  67. November 20201
  68. October 20202
  69. September 20202
  70. July 20202
  71. June 20202
  72. May 20202
  73. April 20201
  74. March 20203
  75. February 20203
  76. January 20202
    Show

    146 entries

    Project health

    Issue, contributor and maintainer activity in cli/cli, 2023-10 – 2026-09, as of 2026-09-25. Twelve-month figures first; the trend lines run the whole window.

    1. Contributors 80 −5 vs prior 12 months
    2. Maintainers 5 +2 joined · −4 left, last 12 months
    3. Bus factor 2 committers behind half the commits
    4. Community-filed 95% of issues opened, last 12 months
    5. Median time to close < 1 day first maintainer reply 0 hours
    6. Open backlog 1,023 of 6,427 issues ever filed
    1. Issues opened / month 57 · 3 communitymaintainers
    2. Open backlog 1,023
    3. Contributors / month 6
    4. Commits / month 107
    5. Stars 46,338
    Issue themes, last 12 months
    • bugs 18%
    • features 30%
    • docs 0%
    • other 52%

    Counts from the project's public repository and git history; no individuals are identified. Maintainers are the committers covering 80% of the last year's commits. how we measure this

    Articles

    1 article · updated Nov 4, 2026

    Where GitHub CLI turns up in what others publish: how-tos, attack reports that name it, and incident write-ups. A row says why it is here and quotes where the article names it; the link goes to the publisher.

    Tutorials & guides 1

    • GitHub CLI Cheatsheet Linuxize
      …access, or SSO is not authorized for the token X status with no logs in gh run view Logs expire with the retention policy; check the run age Related Guides # Deeper reading on GitHub CLI and the Git commands beside it.

    Libraries its release ships

    What its latest release locks, checked against known advisories.

    None of its release's images build from a lockfile we can read.

    Add the badge to your README

    Maintain this project? The badge links readers straight to this page, so they can follow every release here.

    Tracked by Cyber Toolchain Choose a badge style and copy the code →
    browse all tools → score card for your toolchain →