Complete installation guide for SofaFriends.
- System Requirements
- Installing Docker Desktop
- Installing Claude in VS Code (Optional)
- Verifying Installation
- Next Steps
- OS: Windows 10/11, macOS 10.15+, or Linux (Ubuntu 20.04+)
- RAM: 4GB minimum, 8GB recommended
- Disk Space: 2GB free space
- Network: WiFi capability (for phone controllers)
- Browser: Chrome 90+, Firefox 88+, Safari 14+, or Edge 90+
- Smartphone: iOS 12+ or Android 8+
- Browser: Safari (iOS) or Chrome (Android)
- Network: Must be on same WiFi as host computer
Docker Desktop bundles Docker Engine and Docker Compose, making it the easiest way to run SofaFriends.
Prerequisites:
- Windows 10 64-bit: Pro, Enterprise, or Education (Build 19041+) OR Windows 11
- WSL 2 (Windows Subsystem for Linux) enabled
Steps:
-
Enable WSL 2:
# Run PowerShell as Administrator wsl --install
Restart your computer if prompted.
-
Download Docker Desktop:
- Visit: https://www.docker.com/products/docker-desktop/
- Click "Download for Windows"
- Run the installer:
Docker Desktop Installer.exe
-
Install Docker:
- Follow the installation wizard
- Ensure "Use WSL 2 instead of Hyper-V" is checked
- Click "Ok" and wait for installation to complete
-
Start Docker:
- Launch Docker Desktop from Start Menu
- Wait for whale icon to appear in system tray
- You may need to accept the service agreement
-
Verify Installation:
docker --version docker-compose --version
You should see version numbers like:
Docker version 24.0.x Docker Compose version v2.x.x
Troubleshooting Windows:
- If WSL 2 installation fails, run:
wsl --update - Check "Turn Windows features on or off" → Enable "Virtual Machine Platform" and "Windows Subsystem for Linux"
- Restart computer after enabling features
Prerequisites:
- macOS 10.15 or newer
- Apple chip (M1/M2) or Intel processor
Steps:
-
Download Docker Desktop:
- Visit: https://www.docker.com/products/docker-desktop/
- Choose your chip type:
- "Mac with Apple chip" (M1/M2)
- "Mac with Intel chip"
- Download the
.dmgfile
-
Install Docker:
- Open the downloaded
Docker.dmg - Drag Docker icon to Applications folder
- Launch Docker from Applications
- Open the downloaded
-
Grant Permissions:
- Click "Ok" to open System Preferences
- Allow Docker Desktop in Security & Privacy
- Enter your password when prompted
-
Start Docker:
- Docker icon will appear in menu bar
- Wait for "Docker Desktop is running" message
-
Verify Installation:
docker --version docker-compose --version
Troubleshooting macOS:
- If Docker won't start, go to System Preferences → Security & Privacy → General → Allow Docker
- Check Activity Monitor to ensure no other virtualization software conflicts
- Try restarting your Mac
Steps:
-
Update Package Index:
sudo apt-get update
-
Install Docker:
# Install Docker sudo apt-get install -y docker.io # Install Docker Compose sudo apt-get install -y docker-compose
-
Add User to Docker Group:
# Allows running Docker without sudo sudo usermod -aG docker $USER
-
Log Out and Back In:
# Or run this to apply group changes immediately newgrp docker -
Enable Docker Service:
sudo systemctl enable docker sudo systemctl start docker -
Verify Installation:
docker --version docker-compose --version
Alternative - Docker Desktop for Linux:
- Download from: https://docs.docker.com/desktop/install/linux-install/
- Provides GUI similar to Windows/Mac version
Troubleshooting Linux:
- If permission denied, ensure you logged out and back in after adding user to docker group
- Check Docker daemon:
sudo systemctl status docker - View Docker logs:
sudo journalctl -u docker
Claude Code is an AI coding assistant that helps with development, debugging, and understanding the codebase.
- Visual Studio Code installed (download from https://code.visualstudio.com/)
- Active Claude subscription (Claude Pro or API access)
- Internet connection
-
Open VS Code:
- Launch Visual Studio Code
-
Open Extensions Panel:
- Press
Ctrl+Shift+X(Windows/Linux) - Or
Cmd+Shift+X(macOS) - Or click Extensions icon in left sidebar
- Press
-
Search for Claude:
- Type "Claude Code" in search box
- Look for the official extension by Anthropic
-
Install Extension:
- Click "Install" button
- Wait for installation to complete
-
Authenticate:
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(macOS) - Type
/loginand press Enter - Your browser will open
- Sign in with your Claude account
- Grant permissions when prompted
- Press
-
Verify Setup:
- Press
Ctrl+L(orCmd+Lon Mac) - Claude chat panel should open
- Type "Hello" to test
- Press
Open Chat:
Ctrl+L(Windows/Linux) orCmd+L(macOS)
Useful Commands:
/help- View help documentation/clear- Clear conversation history/login- Re-authenticate if session expires
Example Prompts:
- "Explain how this file works"
- "Help me debug this error"
- "Add comments to this function"
- "Start the Docker services"
Claude Code requires one of the following:
- Claude Pro subscription ($20/month)
- Claude API access with credits
- Claude Team or Enterprise plan
Sign up at: https://claude.ai/
After installing Docker (and optionally Claude), verify everything is working:
# Check Docker version
docker --version
# Expected: Docker version 24.0.x or higher
# Check Docker Compose version
docker-compose --version
# Expected: Docker Compose version v2.x.x or higher
# Test Docker is running
docker run hello-world
# Expected: "Hello from Docker!" message- Windows/Mac: Look for whale icon in system tray/menu bar
- Icon should be steady (not animated)
- Click icon → Should show "Docker Desktop is running"
- Open VS Code
- Press
Ctrl+LorCmd+L - Claude chat should appear on the right side
- Type a test message
Once everything is installed:
-
Clone the Project:
git clone <your-repo-url> cd sofafriends
-
Read Getting Started Guide:
- See GETTING_STARTED.md for first-time setup
-
Learn How to Play:
- See HOW_TO_PLAY.md for gameplay instructions
-
For Developers:
- See DEVELOPMENT.md for local development guide
Windows:
- Ensure WSL 2 is installed:
wsl --status - Check virtualization is enabled in BIOS
- Restart Docker Desktop from system tray
macOS:
- Check System Preferences → Security & Privacy
- Grant Full Disk Access to Docker
- Restart Docker from menu bar
Linux:
- Check service status:
sudo systemctl status docker - Restart service:
sudo systemctl restart docker - Check logs:
sudo journalctl -u docker -f
# Add user to docker group
sudo usermod -aG docker $USER
# Log out and back in, or run
newgrp dockerIf ports 9000, 9001, or 3001 are already in use:
- Check what's using the port:
netstat -ano | findstr :9000(Windows) orlsof -i :9000(Mac/Linux) - Stop the conflicting service
- Or modify
docker-compose.ymlto use different ports
- Check your internet connection
- Ensure Claude subscription is active
- Try
/loginagain in VS Code - Clear browser cookies and retry
- Visit https://claude.ai/ to verify account status
- Docker Issues: https://docs.docker.com/get-started/
- Claude Code Issues: https://docs.claude.com/
- SofaFriends Issues: Check GitHub Issues or ask Claude in VS Code
Next: Getting Started →