GitHub Copilot CLI is the
copilot command in your terminal. To set up the GitHub Copilot desktop app instead, see the Concentrate CLI.Reasons to Use Concentrate with GitHub Copilot CLI
Reasons to Use Concentrate with GitHub Copilot CLI
- No Copilot plan needed — Use Concentrate models without a GitHub sign-in or Copilot subscription.
- More model choice — Pick Claude, OpenAI, and other models from the Concentrate catalog.
- Prompt caching for Claude — Claude models use the Messages API, so long sessions read most of their input from the cache.
- Spend controls — Manage usage with Concentrate keys and budgets.
- Usage analytics — Review requests, models, tokens, and costs in your dashboard.
Quick Start
GitHub Copilot CLI runs on Concentrate through the Concentrate CLI (cn, beta).
View prerequisites (before you begin)
View prerequisites (before you begin)
- macOS or Linux, with Node.js 22.13 or newer
-
A Concentrate account with credits. You can sign in with
cn login, or create an API key at concentrate.ai/api-keys. -
GitHub Copilot CLI installed and on your
PATH:
1
Install the Concentrate CLI
cn isn’t found afterward, add ~/.local/bin to your PATH with the line the installer printed, then open a new terminal.2
Sign in
cn asks you to paste a key instead. You can also run cn setup to paste a key.3
Start Copilot CLI
--model <id> to pick another model, or switch inside Copilot with /model.cn copilot adds Concentrate for that session only and keeps your key out of Copilot’s files. Models you added to Copilot yourself are still listed.
Use the plain copilot command
To make your normal copilot command list Concentrate models, run:
~/.copilot/providers.json. Copilot keeps your key in that file, readable only by you. cn key updates it, and cn refresh picks up new models. To switch back, run cn reset copilot-cli. Providers you added yourself are left alone.
Use Different Models
Concentrate shows up as three providers in/model, so each model uses the API it’s fastest and cached on:
Every model listed supports tool calls. Run
cn models to browse the catalog.
Resume a Conversation
Run the resume command from the project folder where the conversation started:cn copilot remembers that model for next time.
Remove Concentrate AI
If you usedcn configure copilot-cli, run cn reset copilot-cli. cn logout also removes the Concentrate providers along with your saved key.
Troubleshooting
cn can't find Copilot CLI
cn can't find Copilot CLI
Install it with
npm install -g @github/copilot, make sure copilot is on your PATH, then run cn copilot again.Concentrate models are missing in plain copilot
Concentrate models are missing in plain copilot
Run
cn configure copilot-cli, or cn refresh if you configured it before. cn copilot always uses the current catalog.API key is missing or invalid
API key is missing or invalid
Run
cn login to sign in, cn setup to paste a key, or cn key to replace one. A 402 response means the account needs credits.Something else is wrong
Something else is wrong
Run
cn --version and cn doctor, then email the output to support@concentrate.ai.Next Steps
Concentrate CLI
Every
cn command and supported tool.Available Models
Browse the model catalog.

