# cli/cli

GitHub’s official command line tool

Repository: https://github.com/cli/cli
Canonical: https://ross.abutalabs.com/products/cli
Homepage: https://cli.github.com
Language: Go
License: MIT
License Family: permissive
Topics: github-api-v4, cli, git, golang
Last push: 2026-08-26T14:08:13+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 2526, "days_push": 7, "days_rel": 13, "gap_med": 10.0, "n_releases_24m": 61}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 46011, forks 8921 (observed 2026-08-28T04:12:09.717585+00:00)

## What it is
GitHub's official command line tool (gh) that brings pull requests, issues, releases, and other GitHub features to the terminal alongside git. It supports GitHub.com, GitHub Enterprise Cloud, and GitHub Enterprise Server, and includes an AI-assisted Copilot CLI mode.

## Use cases
- create and review pull requests from the terminal
- list and manage GitHub issues without opening a browser
- check out a pull request locally to test it
- create GitHub releases from the command line
- script GitHub API queries in CI workflows
- manage GitHub Actions runs and checks

## When to choose
- you work with GitHub daily and want to stay in the terminal
- you want to automate GitHub workflows in scripts or CI pipelines
- you use GitHub Enterprise and need official CLI support

## When to avoid
- you primarily use GitLab, Bitbucket, or another forge
- you only need plain git operations, which git itself covers

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools, http-client, version-control, ci-cd
- domain: developer-tools, version-control, apis
- platform: cli, windows, go
- tags: github, git, pull-requests, issues, api-client, gh, command-line, linux, macos

## Member repositories
- cli/cli (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:09.717585+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:21:37.763660+00:00, confidence not recorded.
  - readme: https://github.com/cli/cli (fetched 2026-08-28T04:12:09.717585+00:00, sha 5bb1c28a459a)
  - homepage: https://cli.github.com (fetched 2026-08-29T07:45:06.470464+00:00, sha 4137615f1f59)
- Data as of 2026-08-30T08:39:29.467469+00:00.
