使用 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.
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/github/copilot-cli/HEAD/README.md
Documentation
- https://docs.github.com/copilot/concepts/agents/about-copilot-cli