11.5K ·GitHub
What is this?
GitHub Copilot CLI brings GitHub Copilot's agentic coding assistant into your terminal, letting you build, debug, and understand code through natural language while staying integrated with your GitHub repos, issues, and PRs.
Is this a standalone CLI app or a library I import into my code?
It's a standalone terminal application you launch and chat with interactively, powered by the same agentic harness as GitHub's Copilot coding agent.
How do I install and run it?
Install via the install script on macOS/Linux, Homebrew, WinGet on Windows, or npm on any of the three platforms, then run 'copilot' inside a project folder and log in with the '/login' slash command.
Do I need a Copilot subscription to use it?
Yes, you need an active GitHub Copilot subscription (or org/enterprise access that hasn't been disabled by an admin); on Windows you also need PowerShell v6+.
Can my org block me from using this even if I have Copilot?
Yes — if your organization owner or enterprise admin has disabled Copilot CLI in org/enterprise settings, you won't be able to use it even with a subscription.
Does it act on my code without asking first?
No, every action the agent proposes is shown to you for preview and requires your explicit approval before execution.
Which AI models can I use with it?
By default it uses Claude Sonnet 4.5, but you can switch to other models like Claude Sonnet 4 or GPT-5 via the '/model' slash command.
Can it extend its capabilities with external tools?
Yes, it ships with GitHub's MCP server by default and also supports connecting custom MCP servers for extra capabilities.
What is Autopilot mode?
It's an experimental mode (enabled via the '--experimental' flag) that makes the agent keep working on a task until it's completed, toggled with Shift+Tab.
Does it support code intelligence like go-to-definition?
Yes, it supports Language Server Protocol (LSP) servers, though you must install the LSP servers yourself and configure them via a '.copilot/lsp-config.json' or repo-level '.github/lsp.json' file.
What are similar projects?
Baize, headroom, TokenEconomizer, git-ai, kimi-code, claurst, qwen-code, rea
Which topics is it in?
github-copilot, ai-coding, coding-agents, shell, chatbot, command-line, coding-agent, productivity, command-line-tool, npm, agent, mcp