GitHub Copilot CLI

Active
GitHub Shell NOASSERTION

Description

GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal. Supports code generation, command suggestions, error fixing and more.

Key Features

  • Terminal-native development — Copilot coding agent runs directly in your CLI without context switching
  • Deep GitHub integration — access repos, issues, and PRs with natural language
  • Agentic capabilities — build, edit, debug, and refactor code with complex task planning and execution
  • MCP-powered extensibility — ships with GitHub MCP server, supports custom MCP servers
  • Full control — preview every action before execution, nothing runs without explicit approval
  • Multi-model support (Claude Sonnet 4.5, GPT-5, etc.) with experimental Autopilot mode

Use Cases

💡 Describe requirements in natural language in the terminal to auto-generate code and commands
💡 Debug and fix code errors directly in the CLI without leaving the terminal
💡 Query GitHub repo info, issue status, and PR details using natural language
💡 Leverage LSP integration for intelligent code completion, go-to-definition, and diagnostics
💡 Assist script writing and shell command generation in CI/CD pipelines

Quick Start

Install on macOS/Linux: curl -fsSL https://gh.io/copilot-install | bash or brew install copilot-cli. On Windows: winget install GitHub.Copilot. Launch copilot, authenticate with /login, then run it in your project directory to get started.

Related Projects