>_cli-install
Co

Install GitHub Copilot CLI

GitHub Copilot's coding agent, now in your terminal

GitHub Copilot CLI brings Copilot's agent to the command line — ask questions about your repo, run multi-step tasks, and let it edit files and run commands with your approval.

Install on macOS
npm install -g @github/copilot
Install on Windows
npm install -g @github/copilot
Install on Linux
npm install -g @github/copilot
Run it
copilot
Verify the install
copilot --version

Before you start

Requires Node.js 22+ and npm 10+. Sign in with a GitHub account that has an active Copilot subscription on first run.

Official documentation: Copilot CLI install docs

Frequently asked questions

Do I need a Copilot subscription?

Yes. On first launch you log in with GitHub; your account needs an active Copilot plan.

Is this the same as gh copilot?

No. @github/copilot is the standalone Copilot CLI agent. The older gh copilot was an extension of the GitHub CLI.

What Node version is required?

Node.js 22 or later and npm 10 or later.

GitHub and GitHub Copilot are trademarks of GitHub, Inc. / Microsoft. cli-install.com is an independent resource and is not affiliated with or endorsed by the trademark owner.