Skip to content

Installation & Einrichtung

  • 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

Linux (Ubuntu/Debian):

Terminal window
sudo apt update
sudo apt install python3 python3-pip tmux git

macOS:

Terminal window
# Mit Homebrew
brew install python tmux git

Windows (WSL2):

Terminal window
# In WSL2 Terminal
sudo apt update && sudo apt install python3 python3-pip tmux git
Terminal window
# Via pip (empfohlen)
pip install ccc
# Oder von Source
git clone https://github.com/collective-context/ccc
cd ccc
pip install -e .

Anthropic Claude:

Terminal window
export ANTHROPIC_API_KEY="sk-ant-api03-..."

OpenAI (für Aider):

Terminal window
export OPENAI_API_KEY="sk-..."

Persistent speichern:

Terminal window
echo 'export ANTHROPIC_API_KEY="sk-ant-..."' >> ~/.bashrc
echo 'export OPENAI_API_KEY="sk-..."' >> ~/.bashrc
source ~/.bashrc
Terminal window
# Aider für Code-Entwicklung
pip install aider-chat
# Verify installation
aider --version
Terminal window
# Basis tmux config erstellen
cat > ~/.tmux.conf << 'EOF'
# CC Standard Config
set -g mouse on
set -g base-index 1
set -g pane-base-index 1
# Keybindings
bind-key % split-window -h -c "#{pane_current_path}"
bind-key '"' split-window -v -c "#{pane_current_path}"
EOF
# Reload config
tmux source-file ~/.tmux.conf
Terminal window
# System Check
ccc doctor
# Test API Connectivity
ccc test api --provider=anthropic
ccc test api --provider=openai
# Test tmux Integration
ccc test tmux
Terminal window
mkdir my-project
cd my-project
git init
# CCC für Projekt konfigurieren
ccc init
Terminal window
# Tmux Layout erstellen
ccc tmux init --agents=4
# Agents starten
ccc agent start --all
# Projekt Context setzen
ccc context init "Building web application with authentication"
  1. Gehe zu https://console.anthropic.com
  2. Erstelle Account oder login
  3. Navigiere zu “API Keys”
  4. Erstelle neuen API Key
  5. Kopiere Key (beginnt mit sk-ant-)
  1. Gehe zu https://platform.openai.com
  2. Erstelle Account oder login
  3. Navigiere zu “API Keys”
  4. Erstelle neuen API Key
  5. Kopiere Key (beginnt mit sk-)
Terminal window
# User Installation
pip install --user collective-context-commander
# Python Path
export PATH="$HOME/.local/bin:$PATH"
Terminal window
# Install tmux wenn missing
# Ubuntu/Debian
sudo apt install tmux
# macOS
brew install tmux
# Test tmux
tmux new -d -s test && tmux kill-session -t test
Terminal window
# Test API Keys
curl -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
https://api.anthropic.com/v1/complete
# Check environment
echo $ANTHROPIC_API_KEY
echo $OPENAI_API_KEY

Nach erfolgreicher Installation:

  1. 4-Agent Setup Guide - Ersten Multi-Agent Workflow starten
  2. Tmux Workflows - Terminal-Setup optimieren
  3. CCC CLI Reference - Alle verfügbaren Commands

Ready to revolutionize your development workflow? Start with the 4-Agent Setup!