{"id":31425982,"url":"https://github.com/github/copilot-cli","last_synced_at":"2026-04-07T23:02:53.452Z","repository":{"id":316649573,"uuid":"585860664","full_name":"github/copilot-cli","owner":"github","description":"GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal. ","archived":false,"fork":false,"pushed_at":"2026-02-05T22:47:59.000Z","size":195,"stargazers_count":8018,"open_issues_count":666,"forks_count":1086,"subscribers_count":117,"default_branch":"main","last_synced_at":"2026-02-06T04:51:35.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-06T09:22:30.000Z","updated_at":"2026-02-06T04:51:09.000Z","dependencies_parsed_at":"2025-11-04T01:07:00.831Z","dependency_job_id":null,"html_url":"https://github.com/github/copilot-cli","commit_stats":null,"previous_names":["github/copilot-cli"],"tags_count":129,"template":false,"template_full_name":null,"purl":"pkg:github/github/copilot-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fcopilot-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fcopilot-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fcopilot-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fcopilot-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/copilot-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fcopilot-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29208179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T20:33:12.493Z","status":"ssl_error","status_checked_at":"2026-02-07T20:30:47.381Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-30T05:02:20.898Z","updated_at":"2026-03-06T01:25:59.537Z","avatar_url":"https://github.com/github.png","language":"Shell","readme":"# GitHub Copilot CLI\n\nThe power of GitHub Copilot, now in your terminal.\n\nGitHub 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.\n\nSee [our official documentation](https://docs.github.com/copilot/concepts/agents/about-copilot-cli) for more information.\n\n![Image of the splash screen for the Copilot CLI](https://github.com/user-attachments/assets/f40aa23d-09dd-499e-9457-1d57d3368887)\n\n\n## 🚀 Introduction and Overview\n\nWe'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.\n\n- **Terminal-native development:** Work with Copilot coding agent directly in your command line — no context switching required.\n- **GitHub integration out of the box:** Access your repositories, issues, and pull requests using natural language, all authenticated with your existing GitHub account.\n- **Agentic capabilities:** Build, edit, debug, and refactor code with an AI collaborator that can plan and execute complex tasks.\n- **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.\n- **Full control:** Preview every action before execution — nothing happens without your explicit approval.\n\nWe'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.\n\n## 📦 Getting Started\n\n### Supported Platforms\n\n- **Linux**\n- **macOS**\n- **Windows**\n\n### Prerequisites\n\n- (On Windows) **PowerShell** v6 or higher\n- An **active Copilot subscription**. See [Copilot plans](https://github.com/features/copilot/plans?ref_cta=Copilot+plans+signup\u0026ref_loc=install-copilot-cli\u0026ref_page=docs).\n\nIf 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](http://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/managing-policies-for-copilot-in-your-organization) for more information.\n\n### Installation\n\nInstall with the install script (macOS and Linux):\n\n```bash\ncurl -fsSL https://gh.io/copilot-install | bash\n```\n\nOr\n\n```bash\nwget -qO- https://gh.io/copilot-install | bash\n```\n\nUse `| sudo bash` to run as root and install to `/usr/local/bin`.\n\nSet `PREFIX` to install to `$PREFIX/bin/` directory. Defaults to `/usr/local`\nwhen run as root or `$HOME/.local` when run as a non-root user.\n\nSet `VERSION` to install a specific version. Defaults to the latest version.\n\nFor example, to install version `v0.0.369` to a custom directory:\n\n```bash\ncurl -fsSL https://gh.io/copilot-install | VERSION=\"v0.0.369\" PREFIX=\"$HOME/custom\" bash\n```\n\nInstall with [Homebrew](https://formulae.brew.sh/cask/copilot-cli) (macOS and Linux):\n\n```bash\nbrew install copilot-cli\n```\n\n```bash\nbrew install copilot-cli@prerelease\n```\n\n\nInstall with [WinGet](https://github.com/microsoft/winget-cli) (Windows):\n\n```bash\nwinget install GitHub.Copilot\n```\n\n```bash\nwinget install GitHub.Copilot.Prerelease\n```\n\n\nInstall with [npm](https://www.npmjs.com/package/@github/copilot) (macOS, Linux, and Windows):\n\n```bash\nnpm install -g @github/copilot\n```\n\n```bash\nnpm install -g @github/copilot@prerelease\n```\n\n\n### Launching the CLI\n\n```bash\ncopilot\n```\n\nOn 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.\n\nIf you're not currently logged in to GitHub, you'll be prompted to use the `/login` slash command. Enter this command and follow the on-screen instructions to authenticate.\n\n#### Authenticate with a Personal Access Token (PAT)\n\nYou can also authenticate using a fine-grained PAT with the \"Copilot Requests\" permission enabled.\n\n1. Visit https://github.com/settings/personal-access-tokens/new\n2. Under \"Permissions,\" click \"add permissions\" and select \"Copilot Requests\"\n3. Generate your token\n4. Add the token to your environment via the environment variable `GH_TOKEN` or `GITHUB_TOKEN` (in order of precedence)\n\n### Using the CLI\n\nLaunch `copilot` in a folder that contains code you want to work with.\n\nBy default, `copilot` utilizes Claude Sonnet 4.5. Run the `/model` slash command to choose from other available models, including Claude Sonnet 4 and GPT-5.\n\n### Experimental Mode\n\nExperimental mode enables access to new features that are still in development. You can activate experimental mode by:\n\n- Launching with the `--experimental` flag: `copilot --experimental`\n- Using the `/experimental` slash command from within the CLI\n\nOnce activated, the setting is persisted in your config, so the `--experimental` flag is no longer needed on subsequent launches.\n\n#### Experimental Features\n\n- **Autopilot mode:** Autopilot is a new mode (press `Shift+Tab` to cycle through modes), which encourages the agent to continue working until a task is completed.\n\nEach time you submit a prompt to GitHub Copilot CLI, your monthly quota of premium requests is reduced by one. For information about premium requests, see [About premium requests](https://docs.github.com/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).\n\nFor more information about how to use the GitHub Copilot CLI, see [our official documentation](https://docs.github.com/copilot/concepts/agents/about-copilot-cli).\n\n## 🔧 Configuring LSP Servers\n\nGitHub Copilot CLI supports Language Server Protocol (LSP) for enhanced code intelligence. This feature provides intelligent code features like go-to-definition, hover information, and diagnostics.\n\n### Installing Language Servers\n\nCopilot CLI does not bundle LSP servers. You need to install them separately. For example, to set up TypeScript support:\n\n```bash\nnpm install -g typescript-language-server\n```\n\nFor other languages, install the corresponding LSP server and configure it following the same pattern shown below.\n\n### Configuring LSP Servers\n\nLSP servers are configured through a dedicated LSP configuration file. You can configure LSP servers at the user level or repository level:\n\n**User-level configuration** (applies to all projects):\nEdit `~/.copilot/lsp-config.json`\n\n**Repository-level configuration** (applies to specific project):\nCreate `.github/lsp.json` in your repository root\n\nExample configuration:\n\n```json\n{\n  \"lspServers\": {\n    \"typescript\": {\n      \"command\": \"typescript-language-server\",\n      \"args\": [\"--stdio\"],\n      \"fileExtensions\": {\n        \".ts\": \"typescript\",\n        \".tsx\": \"typescript\"\n      }\n    }\n  }\n}\n```\n\n### Viewing LSP Server Status\n\nCheck configured LSP servers using the `/lsp` command in an interactive session, or view your configuration files directly.\n\nFor more information, see the [changelog](./changelog.md).\n\n## 📢 Feedback and Participation\n\nWe're excited to have you join us early in the Copilot CLI journey.\n\nWe're building quickly. Expect frequent updates--please keep your client up to date for the latest features and fixes!\n\nYour insights are invaluable! Open an issue in this repo, join Discussions, and run `/feedback` from the CLI to submit a confidential feedback survey!\n","funding_links":[],"categories":["Interactive Code Assistants","Uncategorized","Shell","Vibe Coding","Terminal-Based AI Agents","Developer Tooling","Repos","Others","🔗 Related Projects","Terminal \u0026 CLI Agents","命令行工具","Alternative Coding Agents","AI Coding Assistants \u0026 Agents","🚀 AI Tools for Vim, Neovim, and Terminal"],"sub_categories":["Uncategorized","Modifying Security Scope","Video Tutorials","Provider-Native Coding CLIs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fcopilot-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fcopilot-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fcopilot-cli/lists"}