Installation & Einrichtung
System Requirements
Section titled “System Requirements”- Operating System: Linux, macOS, or Windows (mit WSL2)
- Python: 3.10 oder höher
- tmux: Für Multi-Panel Management
- Git: Für Code-Integration
- API Keys: Claude (Anthropic) und/oder OpenAI
Quick Install
Section titled “Quick Install”1. Prerequisites installieren
Section titled “1. Prerequisites installieren”Linux (Ubuntu/Debian):
sudo apt updatesudo apt install python3 python3-pip tmux gitmacOS:
# Mit Homebrewbrew install python tmux gitWindows (WSL2):
# In WSL2 Terminalsudo apt update && sudo apt install python3 python3-pip tmux git2. CCC Commander installieren
Section titled “2. CCC Commander installieren”# Via pip (empfohlen)pip install ccc
# Oder von Sourcegit clone https://github.com/collective-context/ccccd cccpip install -e .3. API Keys konfigurieren
Section titled “3. API Keys konfigurieren”Anthropic Claude:
export ANTHROPIC_API_KEY="sk-ant-api03-..."OpenAI (für Aider):
export OPENAI_API_KEY="sk-..."Persistent speichern:
echo 'export ANTHROPIC_API_KEY="sk-ant-..."' >> ~/.bashrcecho 'export OPENAI_API_KEY="sk-..."' >> ~/.bashrcsource ~/.bashrcDetailed Setup
Section titled “Detailed Setup”Aider Installation
Section titled “Aider Installation”# Aider für Code-Entwicklungpip install aider-chat
# Verify installationaider --versionTmux Konfiguration
Section titled “Tmux Konfiguration”# Basis tmux config erstellencat > ~/.tmux.conf << 'EOF'# CC Standard Configset -g mouse onset -g base-index 1set -g pane-base-index 1
# Keybindingsbind-key % split-window -h -c "#{pane_current_path}"bind-key '"' split-window -v -c "#{pane_current_path}"EOF
# Reload configtmux source-file ~/.tmux.confVerification
Section titled “Verification”# System Checkccc doctor
# Test API Connectivityccc test api --provider=anthropicccc test api --provider=openai
# Test tmux Integrationccc test tmuxProject Setup
Section titled “Project Setup”1. Neues Projekt initialisieren
Section titled “1. Neues Projekt initialisieren”mkdir my-projectcd my-projectgit init
# CCC für Projekt konfigurierenccc init2. 4-Agent Setup starten
Section titled “2. 4-Agent Setup starten”# Tmux Layout erstellenccc tmux init --agents=4
# Agents startenccc agent start --all
# Projekt Context setzenccc context init "Building web application with authentication"API Keys erhalten
Section titled “API Keys erhalten”Anthropic Claude API
Section titled “Anthropic Claude API”- Gehe zu https://console.anthropic.com
- Erstelle Account oder login
- Navigiere zu “API Keys”
- Erstelle neuen API Key
- Kopiere Key (beginnt mit
sk-ant-)
OpenAI API
Section titled “OpenAI API”- Gehe zu https://platform.openai.com
- Erstelle Account oder login
- Navigiere zu “API Keys”
- Erstelle neuen API Key
- Kopiere Key (beginnt mit
sk-)
Troubleshooting
Section titled “Troubleshooting”Permission Errors
Section titled “Permission Errors”# User Installationpip install --user collective-context-commander
# Python Pathexport PATH="$HOME/.local/bin:$PATH"tmux Issues
Section titled “tmux Issues”# Install tmux wenn missing# Ubuntu/Debiansudo apt install tmux
# macOSbrew install tmux
# Test tmuxtmux new -d -s test && tmux kill-session -t testAPI Connection Issues
Section titled “API Connection Issues”# Test API Keyscurl -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ https://api.anthropic.com/v1/complete
# Check environmentecho $ANTHROPIC_API_KEYecho $OPENAI_API_KEYNext Steps
Section titled “Next Steps”Nach erfolgreicher Installation:
- 4-Agent Setup Guide - Ersten Multi-Agent Workflow starten
- Tmux Workflows - Terminal-Setup optimieren
- CCC CLI Reference - Alle verfügbaren Commands
Getting Help
Section titled “Getting Help”- Documentation: https://collective-context.org
- GitHub Issues: https://github.com/collective-context/ccc/issues
- Discord Community: https://discord.gg/collective-context
Ready to revolutionize your development workflow? Start with the 4-Agent Setup!