cc-copilot-bridge
Bash router that switches Claude Code CLI between Anthropic, Copilot, and Ollama.
Tested on Linux
Use it
Linux x86_64
You need first
- System packages:
jq,nc - Keys or accounts: ANTHROPIC_API_KEY
Download install.sh for reading before running
curl -fsSL https://raw.githubusercontent.com/FlorianBruniaux/cc-copilot-bridge/main/install.sh -o /tmp/install.shCreate dirs and run install.sh non-interactively
mkdir -p ~/.claude ~/bin && printf '\n\n\n' | bash /tmp/install.shRuns a downloaded script: read it before you run it.
Put claude-switch on PATH via ~/.local/bin symlink
mkdir -p ~/.local/bin && ln -sf ~/bin/claude-switch ~/.local/bin/claude-switch
Where the README and reality differ
- README: curl -fsSL .../install.sh | bash works on fresh machine
What worked: mkdir -p ~/.claude before running install.sh; reran with dir present
Check that it works
claude-switch --helpThe output should contain “Claude Code Multi-Provider Switcher v1.7.0”.
First thing to try
claude-switch statusRun claude-switch status to see which provider Claude Code is currently set to use.
What it does
- Route Claude Code through different providersNot shown working
- Switch between Anthropic, Copilot and OllamaNot shown working
- Use Claude, GPT and Gemini modelsNot tested
How far pickfit got
Linux x86_64
- Installs
- Starts
- 0 of 3 features work
- Works offline
macOS: the project says it runs there; pickfit hasn’t tried it.
Good for
- switch Claude Code CLI between Anthropic, Copilot, and Ollama
- use Claude Code with existing GitHub Copilot subscription
- run Claude Code offline with Ollama for proprietary code
An alternative to @musistudio/claude-code-router and OpenCode.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 30 Oct 2026
- Version 1.7.0
Differences the test machine hit
- README: installer puts claude-switch on PATH
In the test: symlink ~/bin/claude-switch to ~/.local/bin/claude-switch (installer uses ~/bin, PATH starts with ~/.local/bin) - README: ccs
In the test: source ~/.claude/aliases.sh and eval ccs (ccs is a shell alias, not a binary; non-interactive bash needs eval/interactive shell)