← all repositories
github/gh-copilot

GitHub's CLI copilot is dead, long live the CLI copilot

The original `gh-copilot` extension has been deprecated in favor of a new agentic replacement.

gh-copilot
Velocity · 7d
+1.2
★ / day
Trend
steady
star history

What it does

gh-copilot was a GitHub CLI extension that let you ask Copilot to suggest shell commands (gh copilot suggest) or explain cryptic ones (gh copilot explain) without leaving the terminal. It also generated shell aliases (ghcs, ghce) that could execute suggestions directly and add them to your shell history.

The interesting bit

The README now opens with a deprecation notice dated October 25, 2025 — a project actively steering users to its successor, GitHub Copilot CLI, which uses the same “agentic harness” as GitHub’s Copilot coding agent. The old extension was essentially a thin wrapper around two API calls; the new thing promises actual back-and-forth conversation and debugging.

Key highlights

  • Required an active GitHub Copilot subscription and gh CLI OAuth login
  • Two core commands: suggest for command generation, explain for deciphering flags
  • gh copilot alias generated ghcs/ghce shortcuts with optional execute-and-save-to-history
  • Multi-account support via --hostname or GH_HOST
  • Sent optional usage analytics (platform, version, command type) unless opted out

Caveats

  • Deprecated as of October 2025; no further development planned
  • Classic and fine-grained PATs were unsupported, requiring GITHUB_TOKEN/GH_TOKEN clearance
  • No 32-bit Android support, per issue #122

Verdict

If you’re already using this, migrate to the new GitHub Copilot CLI. If you’re shopping for a terminal AI assistant, skip this repo entirely — it’s a historical artifact.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.