GitHub Copilot CLI in brief
GitHub Copilot CLI is GitHub's terminal-native coding agent, launched in public preview in September 2025. It is distributed as the @github/copilot npm package and uses a GitHub account for authentication. The product works with local repositories while connecting to GitHub context, including repository history, issues, and pull requests. GitHub documents support for Linux, macOS, and Windows, with PowerShell 6 or later required on Windows. The current CLI is distinct from the older gh-copilot extension. GitHub announced that gh-copilot would stop working on October 25, 2025, and presented the agentic CLI as its replacement. That distinction matters because the older extension offered command suggestions, while the current product can plan and execute multi-step repository work.
A normal session starts with copilot in a repository and a natural-language request. The agent can inspect files, propose a plan, edit code, debug, refactor, and run terminal commands. GitHub context lets it work from repository tasks, issues, and pull requests, while the included GitHub MCP server connects the session to GitHub capabilities. Custom MCP servers and custom agents extend that setup. GitHub says each file change and command execution requires explicit approval. Release notes also describe streaming output, parallel tool calls, model selection, image input, session continuation, delegated work, and granular tool permissions. The workflow combines shell access with repository context, but users must review proposed edits and commands before allowing them, particularly when a request can affect files or external GitHub state.
Copilot CLI suits developers who keep repositories, issues, and pull requests in GitHub and want organization controls around terminal agents. Its limits are clear: it requires GitHub authentication, access depends on a Copilot plan, and agent work consumes credits. The product also depends on remote GitHub-hosted AI services, so it is not a local-only runtime or a self-hosted deployment. Crush offers provider and local-model choice, Claude Code centers Anthropic's service, and OpenCode emphasizes support for multiple providers. Pick Copilot CLI when GitHub context and centralized policy outweigh endpoint freedom. Pick Crush for local models, Claude Code for Anthropic-centered workflows, or OpenCode for provider flexibility.