Installation Guide
Install CCProxy on your system using the method that works best for you. CCProxy supports all major operating systems with pre-built binaries.
Quick Install (All Platforms)
The fastest way to install CCProxy:
curl -sSL https://raw.githubusercontent.com/orchestre-dev/ccproxy/main/install.sh | bashThis script will:
- Detect your operating system and architecture
- Download the appropriate binary
- Install it to
/usr/local/bin(or~/binon Windows)
Platform-Specific Installation
Windows
Download Binary
- Visit CCProxy Releases
- Download
ccproxy-windows-amd64.exe - Place in a directory in your PATH
- Run from Command Prompt or PowerShell:powershell
ccproxy.exe version
macOS
For Apple Silicon (M1/M2/M3)
curl -L "https://github.com/orchestre-dev/ccproxy/releases/latest/download/ccproxy-darwin-arm64" -o ccproxy
chmod +x ccproxy
sudo mv ccproxy /usr/local/bin/For Intel Macs
curl -L "https://github.com/orchestre-dev/ccproxy/releases/latest/download/ccproxy-darwin-amd64" -o ccproxy
chmod +x ccproxy
sudo mv ccproxy /usr/local/bin/Linux
For x86_64 systems
curl -L "https://github.com/orchestre-dev/ccproxy/releases/latest/download/ccproxy-linux-amd64" -o ccproxy
chmod +x ccproxy
sudo mv ccproxy /usr/local/bin/For ARM64 systems
curl -L "https://github.com/orchestre-dev/ccproxy/releases/latest/download/ccproxy-linux-arm64" -o ccproxy
chmod +x ccproxy
sudo mv ccproxy /usr/local/bin/Docker Installation
Run CCProxy in a container:
# Quick start with Docker
docker run -d -p 3456:3456 \
-v ~/.ccproxy:/home/ccproxy/.ccproxy \
ghcr.io/orchestre-dev/ccproxy:latest
# Or use Docker Compose
curl -O https://raw.githubusercontent.com/orchestre-dev/ccproxy/main/docker-compose.yml
docker-compose up -dBuilding from Source
If you want to build CCProxy yourself:
Prerequisites
- Go 1.21 or later
- Git
Build Steps
# Clone the repository
git clone https://github.com/orchestre-dev/ccproxy.git
cd ccproxy
# Build for your current platform
make build
# Or build for all platforms
make build-all
# Install locally
sudo make installVerify Installation
After installation, verify CCProxy is working:
# Check version
ccproxy version
# Check status
ccproxy status
# Run health check
ccproxy start
curl http://localhost:3456/healthConfiguration
After installation, create a configuration file:
mkdir -p ~/.ccproxy
cat > ~/.ccproxy/config.json << 'EOF'
{
"providers": [
{
"name": "anthropic",
"api_key": "your-anthropic-key",
"models": ["claude-opus-4-20250720", "claude-sonnet-4-20250720", "claude-3-5-haiku-20241022"],
"enabled": true
}
],
"routes": {
"default": {
"provider": "anthropic",
"model": "claude-sonnet-4-20250720"
},
"longContext": {
"provider": "anthropic",
"model": "claude-opus-4-20250720"
}
}
}
EOFNote: The models array validates available models, while the routes section defines which models are actually used for requests.
⚠️ Model names change frequently. Check provider documentation for latest models.
Next Steps
- Quick Start Guide - Get running in 2 minutes
- Configuration Guide - Detailed configuration options
- Provider Setup - Configure AI providers
Troubleshooting
Permission Denied
If you get "permission denied" when running the install script:
chmod +x install.sh
./install.shCommand Not Found
If ccproxy is not found after installation, add the install directory to your PATH:
export PATH="$PATH:/usr/local/bin"Binary Not Found for Platform
Available binaries:
ccproxy-linux-amd64- Linux x86_64ccproxy-linux-arm64- Linux ARM64ccproxy-darwin-amd64- macOS Intelccproxy-darwin-arm64- macOS Apple Siliconccproxy-windows-amd64.exe- Windows x86_64
If your platform isn't supported, please build from source.