{
  "slug": "gh-copilot-installs-and-runs-github-copilot-cli-d72169b5e018",
  "title": "gh copilot installs and runs GitHub Copilot CLI",
  "tools": [
    "gh"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-21T20:02:42.000Z",
  "announced_at": "2026-01-21T20:02:42.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "To use Copilot CLI from a terminal, run `gh copilot`; on its first run, follow the prompt to install it. The command runs Copilot CLI and forwards arguments and flags that `gh` does not support.",
    "examples": [
      "gh copilot [flags] [args]"
    ],
    "gotchas": [
      "Requires Run `gh copilot`; it prompts to install Copilot CLI on first run.",
      "flags and args: Arguments and flags not supported by `gh` are forwarded to Copilot CLI.",
      "--remove: Remove the downloaded Copilot CLI.",
      "Prerequisite: An active Copilot subscription; organization or enterprise users need Copilot CLI enabled by their administrator.",
      "The installation prompt occurs when `gh copilot` is run for the first time.",
      "Arguments and flags that the `gh` command does not support are forwarded to Copilot CLI."
    ]
  },
  "why_it_matters": "Use GitHub Copilot CLI from a terminal while working in a repository with GitHub CLI users.",
  "sources": [
    "https://github.blog/changelog/2026-01-21-install-and-use-github-copilot-cli-directly-from-the-github-cli",
    "https://cli.github.com/manual/gh_help_reference",
    "https://github.com/github/copilot-cli"
  ],
  "rank": 0.97046,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "recover-20261008",
    "verdict_id": "recover-20261008:recover-20261008-af1047404c4e82ad-0:gate",
    "evidence_hash": "a533a0133ab9ec1d7f3770d338f02857404365ec4b6d968b8d465321e51102c0"
  },
  "review": {
    "draft_hash": "28faa8c5f9a3ede7e38d1f7259b52dac704fbeede16329212a21b36b2b776e4d",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "recover-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.62 (>= 0.6 needed)."
  }
}
