GitHub Copilot CLI
Bring the power of GitHub Copilot coding agent to your terminal for natural language coding, debugging, and understanding.
- Source repo
- github/copilot-cli
- Stars
- ★ 11k
- Last updated
- 1d ago v1.0.119
- FARS reviewed
- Nov 08, 2026 +12 new
- License
- NOASSERTION
- Primary language
- Python
- FA score
- 46/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specificChatGPT · Claude Code
- Cost
- Needs a paid subscription or licence
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer wants quick code explanations without leaving the terminal.
- Not a fit if
- Individuals or teams without a paid GitHub Copilot subscription
- Users whose organization or enterprise has disabled Copilot CLI
- Teams that need fully offline operation with no data leaving the machine
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v1.0.119 (2026-12-02)+4.1 ★/day over 7 days
- Source review
- 46/100 · Major gaps 1 safety controls not found
What does this agent do, and when should you use it?
GitHub Copilot CLI is a command-line tool that brings GitHub Copilot's coding agent capabilities directly to your terminal. It leverages the same agentic harness as GitHub's Copilot coding agent, enabling it to understand your codebase and GitHub context (repos, issues, pull requests) and execute complex multi-step tasks. The tool supports natural language conversations for building, editing, debugging, and refactoring code. It integrates natively with GitHub's MCP server and supports custom MCP servers for extensibility. It is available on Windows, macOS, and Linux, and requires an active GitHub Copilot subscription to function.
It launches an interactive session in the terminal where users interact with an AI agent via natural language prompts. It uses GitHub integration to access repositories, issues, and pull requests, and can perform code edits, debugging, and refactoring. It supports extension via MCP servers, with GitHub's MCP server bundled by default. It provides code intelligence through LSP servers, offering go-to-definition, hover info, and diagnostics. It requires user approval before executing actions, with previews of each action. It supports multiple models (e.g., Claude Sonnet 4.5, GPT-5) and includes experimental features like Autopilot mode.
- A developer wants quick code explanations without leaving the terminal.
- A developer needs to write or modify code based on natural language instructions.
- A developer wants to debug code with AI-driven diagnostics and suggestions.
- A developer wants to refactor a codebase with AI assistance for planning and execution.
- A developer wants to manage GitHub issues or pull requests directly from the terminal.
- A developer wants to extend the coding agent with custom MCP servers for specialized workflows.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://gh.io/copilot-install | bashwget -qO- https://gh.io/copilot-install | bashbrew install copilot-cliwinget install GitHub.Copilot
- Environment variables
GH_TOKENGITHUB_TOKEN- Config files
~/.copilot/lsp-config.json.github/lsp.json- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
- Ensure you have an active GitHub Copilot subscription. 2. For macOS/Linux, use the install script:
curl -fsSL https://gh.io/copilot-install | bashorwget -qO- https://gh.io/copilot-install | bash. 3. For macOS via Homebrew:brew install copilot-cli. 4. For Windows via WinGet:winget install GitHub.Copilot. 5. Or via npm:npm install -g @github/copilot.
How do you use this agent?
Run copilot in a directory containing code to launch the CLI. On first launch, use the /login slash command to authenticate with your GitHub account, or set the environment variable GH_TOKEN or GITHUB_TOKEN with a fine-grained PAT that has 'Copilot Requests' permission. After authentication, start a conversation by typing natural language prompts. Use /model to select models, /experimental for experimental features, and /feedback for feedback. You can also configure LSP servers via ~/.copilot/lsp-config.json or .github/lsp.json.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Deep GitHub integration for repos, issues, and PRs.
- Agentic capabilities for planning and executing complex tasks.
- Extensible via MCP servers.
- LSP support for enhanced code intelligence.
- Cross-platform support (Windows, macOS, Linux).
- Requires a paid GitHub Copilot subscription.
- May be disabled by organization or enterprise policies.
- Tied to GitHub authentication and cloud service.
- LSP servers must be installed separately and configured.
- Frequent updates may require regular upkeep.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| GitHub Copilot CLI This agent | 46 · Major gaps | CLIPaid | ★ 11k | 1d ago | Python | ChatGPT · Claude Code |
| Deep Code CLI | 50 · Major gaps | CLIFree + model costs | ★ 2.2k | 8d ago | TypeScript | — |
| Amazon Q CLI (deprecated, migrate to Kiro CLI) | 44 · Major gaps | CLIFree + model costs | ★ 2k | 7mo ago | Rust | — |
| Jean Desktop AI Development Assistant | 68 · Some gaps | Desktop appFree + model costs | ★ 1.4k | 1d ago | TypeScript | Codex · Claude Code · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README claims every action is previewed and requires explicit approval, offering limited evidence of confirmation; the sample does not show the CLI's permission controls or confirmation implementation. PATs are placed in environment variables, and the container requires connection and GitHub tokens; credential storage, transmission, and sensitive-data handling are not described. The sample provides no dependency audit or rollback guidance, so those areas score low. Workflows restrict permissions and validate workflow-run and PR metadata, supporting limited least-privilege and external-effect controls. Repository and official-documentation references make product attribution clear.
The README points to installation, container, and LSP guidance and says LSP servers must be installed separately, but the sample is insufficient to verify consistency across those paths. Workflows include metadata checks and readable skip messages, but there is no evidence of runtime failure handling in the product. Installer scripts and package managers are identifiable external dependencies; the sample shows no availability or fallback evidence, so these criteria do not earn high scores.
The materials cover local terminal development, GitHub workflows, MCP extension, a container SDK server, and LSP, across multiple scenarios and platforms. The container is explicitly described as for SDK clients rather than interactive terminal use, and separate LSP installation is explained. Product boundaries are partly stated, but autopilot remains experimental and details on authorization, approval, and trigger scope are limited.
The README is organized into getting started, installation, use, container, experimental features, and LSP, with install commands, a configuration example, and links to documentation and a changelog. LICENSE.md clearly sets out use and limited redistribution terms, though metadata is NOASSERTION and the license restricts modification and standalone redistribution. Version-specific installation, stable and prerelease channels, a changelog link, and feedback routes support version and maintenance information. Known limitations remain incomplete, and the sample has no FAQ or comprehensive limitations list.
The CLI is described as helping users build, debug, understand, and refactor code through natural language while using GitHub context, indicating clear potential value; the sample provides no concrete evidence about output format, quality, or workflow efficiency. Each prompt reduces the monthly premium-request quota, and use requires an active subscription with possible additional LSP installation, while cost-benefit guidance is limited.
The README gives checkable details about platforms, installation, credential variables, quota, LSP configuration, and container purpose; the license and workflow files corroborate some related facts. The sample contains only a few sources, so it does not provide broad cross-checking between implementation and documentation. The README distinguishes current functionality from experimental Autopilot and limits the stated container use to SDK serving; however, key safety claims such as approval for every action appear only as README assertions in this sample.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- This safety review is limited to the supplied static sample; the claim that every action requires explicit approval is not supported by implementation evidence here.
- Use requires GitHub credentials, and prompts consume premium-request quota; the sample does not explain credential handling or data flows.
- LICENSE.md restricts modification and standalone redistribution, while license metadata is NOASSERTION; check applicable terms before use or redistribution.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v1.0.119 1.0.119
Release notes excerpt
2026-12-02 - Enable the Change session directory tool in Settings to let the agent move the session's tools to another existing directory mid-session without reloading project configuration. - Automatically resume saved local Copilot CLI sessions when a terminal that supports the Program Resume Protocol (OSC 7577) restarts. - Plugin updates report which plugins changed and which are already up to date, without reinstalling unchanged plugins. - Prevent request failures when Auto selects a model that isn't listed in the current session and requires a different API endpoint. …View on GitHub ↗ -
v1.0.118 1.0.118
-
v1.0.117 1.0.117
FAQ
Do I need a GitHub Copilot subscription?
What programming languages are supported?
How are premium requests counted?
Can I use custom models?
/model command, depending on your subscription.How does it ensure safe actions?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.