Skip to content
Discussion options

You must be logged in to vote

Hi! Let’s walk through what you need to know to get GitHub Copilot CLI working:

1. ✅ Prerequisites

Before installing, you need:

  • An active GitHub Copilot subscription (Pro, Business, or Enterprise), Copilot CLI only works with paid plans.
  • Node.js v22 or newer
  • npm v10 or newer
  • (On Windows) PowerShell v6 or higher
  • If you're in an organization: make sure your Copilot CLI is enabled by your org admin, because the feature may be disabled by policy.
    GitHub

2. 📥 Installing the CLI

You will need to run

npm install -g @github/copilot

This installs the copilot command globally.


3. 🚀 Launching and Authenticating

  • Run
    copilot
  • If you're not logged in yet, Copilot CLI will prompt you to run:
    /login

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arrais-company
Comment options

Answer selected by arrais-company
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Copilot Coding Agent Implement a task or issue, run in the background with GitHub Actions, and more
2 participants