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.

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
ghCLI OAuth login - Two core commands:
suggestfor command generation,explainfor deciphering flags gh copilot aliasgeneratedghcs/ghceshortcuts with optional execute-and-save-to-history- Multi-account support via
--hostnameorGH_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_TOKENclearance - 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.