For GitHub Copilot CLI
Switch models
in one command
A tiny shell tool for switching between BYOK provider models. Pick a model, get your env vars, start Copilot.
$ curl -fsSL https://raw.githubusercontent.com/burkeholland/cpm/main/install.sh | bash
> irm https://raw.githubusercontent.com/burkeholland/cpm/main/install.ps1 | iex
Then just run cpm
$ cpm Pick a model: 1) Copilot (built-in) 2) MiniMax > MiniMax-M2.7 3) Ollama > llama3.2 4) GLM > GLM-5.1 Enter number (1-4): 2 ✓ Switched to MiniMax > MiniMax-M2.7 $ copilot
Reference
All commands
cpm Interactive model picker
cpm status Show active model
cpm list List all models
cpm add Add a provider or model
cpm remove Remove a provider or model
cpm update Edit provider/model settings
cpm keys Show & set API keys
cpm config Get/set config (e.g. launch cmd)
cpm edit Open config in $EDITOR
cpm import Import from VS Code
cpm clear Unset all provider vars
cpm uninstall Remove cpm completely
cpm help Show help