Run terminal-native coding agent workflows with GitHub Copilot CLI
Use GitHub Copilot CLI to plan, edit, debug, explain, and automate repository work from a terminal with GitHub context and approval controls.
Prerequisites
GitHub Copilot CLI, active GitHub Copilot subscription, GitHub authentication or PAT, local repository, terminal, and optional MCP servers
Installation
Use the upstream install or setup path that matches your environment:
- brew install copilot-cli
- brew install copilot-cli@prerelease
- npm install -g @github/copilot
- npm install -g @github/copilot@prerelease
Basic usage or getting-started notes:
📦 Getting Started
(On Windows) PowerShell v6 or higher
An active Copilot subscription. See Copilot plans.
Extracted from upstream docs: https://raw.githubusercontent.com/github/copilot-cli/HEAD/README.md