πŸ“ˆ GH Trending Explorer 🎲 Surprise me

← all repos

github / copilot-cli

git clone https://github.com/github/copilot-cli.git v1.0.101 Β· today πŸ”₯ on GitHub Trending today

GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.

+10
stars, 24h Β· #361
β€”
stars, 7 days
β€”
stars, 30 days
11k
β˜… total
2.0k
forks Β· 2.2k open issues

Star history starts 2026-10-20; the chart appears after the second daily snapshot.

LanguageShell
Licenseβ€”
Created2023-01-06 (3y ago)
Last pushtoday
Watchers272
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-20 β€” #8 daily in shell Β· +10 β˜…

Links

README excerpt
# GitHub Copilot CLI
The power of GitHub Copilot, now in your terminal.
GitHub Copilot CLI brings AI-powered coding assistance directly to your command line, enabling you to build, debug, and understand code through natural language conversations. Powered by the same agentic harness as GitHub's Copilot coding agent, it provides intelligent assistance while staying deeply integrated with your GitHub workflow.
See our official documentation for more information.
## πŸš€ Introduction and Overview
We're bringing the power of GitHub Copilot coding agent directly to your terminal. With GitHub Copilot CLI, you can work locally and synchronously with an AI agent that understands your code and GitHub context.
- **Terminal-native development:** Work with Copilot coding agent directly in your command line β€” no context switching required.
- **GitHub integration out of the box:** Access your repositories, issues, and pull requests using natural language, all authenticated with your existing GitHub account.
- **Agentic capabilities:** Build, edit, debug, and refactor code with an AI collaborator that can plan and execute complex tasks.
- **MCP-powered extensibility:** Take advantage of the fact that the coding agent ships with GitHub's MCP server by default and supports custom MCP servers to extend capabilities.
- **Full control:** Preview every action before execution β€” nothing happens without your explicit approval.
We're still early in our journey, but with your feedback, we're rapidly iterating to make the GitHub Copilot CLI the best possible companion in your terminal.
## πŸ“¦ Getting Started
### Supported Platforms
- **Linux**
- **macOS**
- **Windows**
### Prerequisites
- (On Windows) **PowerShell** v6 or higher
- An **active Copilot subscription**. See Copilot plans.
If you have access to GitHub Copilot via your organization or enterprise, you cannot use GitHub Copilot CLI if your organization owner or enterprise administrator has disabled it in the organization or enterprise settings. See Managing policies and features for GitHub Copilot in your organization for more information.
### Installation
Install with the install script (macOS and Linux):
 [code] 
Or
 [code] 
Use `| sudo bash` to run as root and install to `/usr/local/bin`.
Set `PREFIX` to install to `$PREFIX/bin/` directory. Defaults to `/usr/local`
when run as root or `$HOME/.local` when run as a non-root user.
Set `VERSION` to install a specific version. Defaults to the latest version.
For example, to install version `v0.0.369` to a custom directory:
 [code] 
Install with Homebrew (macOS and Linux):
 [code] 
 [code] 
Install with WinGet (Windows):
 [code] 
 [code] 
Install with npm (macOS, Linux, and Windows):
 [code] 
 [code] 
### Launching the CLI
 [code] 
On first launch, you'll be greeted with our adorable animated banner! If you'd like to see this banner again, launch `copilot` with the `--banner` flag.
If you're not currently logged in to GitHub, you'll be prompted to use the `/login` slash