Installation Guide
Routa supports three deployment methods:- Desktop Application (Recommended) — Tauri-based native app with embedded Rust server
- Web Deployment — Next.js application on Vercel or self-hosted
- Docker — Containerized deployment with PostgreSQL or SQLite
Desktop
Native performance, embedded database, offline capable
Web
Serverless deployment, multi-user, PostgreSQL backend
Docker
Self-hosted, isolated, easy scaling
System Requirements
- Desktop
- Web
- Docker
Desktop Application
- Operating System: Windows 10+, macOS 11+, or Linux (Ubuntu 20.04+)
- Node.js: 22.x or later
- Rust: 1.70+ (installed automatically by rustup)
- Memory: 4GB RAM minimum, 8GB recommended
- Disk Space: 500MB for application + workspace storage
Platform-Specific Dependencies
Linux
Linux
Ubuntu/Debian
Fedora
macOS
macOS
- Install Xcode Command Line Tools:
- Install Homebrew (if not already installed):
Windows
Windows
- Install Visual Studio Build Tools
- During installation, select “Desktop development with C++”
- Install WebView2 (usually pre-installed on Windows 11)
Installation Methods
- Desktop
- Web
- Docker
Desktop Application
Install Node Dependencies
The
--legacy-peer-deps flag is required for npm due to peer dependency conflicts in some dependencies.Build and Run
- Development
- Production Build
Configure on First Launch
On first launch, you’ll need to:
- Set API Keys: Configure your AI provider API keys in Settings
- Create Workspace: Set up your first workspace directory
- Install ACP Agents: (Optional) Install OpenCode, Claude CLI, or other agents
- Windows:
%APPDATA%/com.routa.app/routa.db - macOS:
~/Library/Application Support/com.routa.app/routa.db - Linux:
~/.local/share/com.routa.app/routa.db
CLI Installation (Optional)
Build the Rust CLI for terminal-based coordination:crates/routa-cli/target/release/routa. Add it to your PATH:Post-Installation Setup
Configure API Keys
Add your AI provider API keys in one of these ways:
- Web UI: Settings → API Configuration
- Environment Variables: Add to
.env.localor.env - Desktop App: Settings panel on first launch
- Anthropic (Claude)
- OpenAI (GPT models)
- Google (Gemini)
- Custom OpenAI-compatible APIs
Create Your First Workspace
- Open the application
- Navigate to Workspaces
- Click New Workspace
- Set name and directory path
- Optionally configure Git repository
Configuration Files
Environment Variables Reference
Database driver:
sqlite or postgresSQLite database file path (only used when ROUTA_DB_DRIVER=sqlite)
PostgreSQL connection string (only used when ROUTA_DB_DRIVER=postgres)Format:
postgresql://user:password@host:port/database?sslmode=requireAnthropic API key for Claude models
OpenAI API key for GPT models
Custom Anthropic-compatible API endpoint
API request timeout in milliseconds (10 minutes default)
Disable non-essential telemetry for Claude Code
GitHub personal access token for webhook and virtual workspace features
Enable GitHub issue polling adapter (alternative to webhooks)
Polling interval in seconds (minimum: 10)
Troubleshooting
Rust build fails
Rust build fails
Symptoms: Errors during
npm run tauri dev or cargo buildSolutions:- Update Rust:
rustup update - Clear build cache:
cargo clean - On Linux, install missing dependencies (see platform-specific section)
- On Windows, ensure Visual Studio Build Tools are installed
- Check disk space (needs ~2GB for debug builds)
Database connection errors
Database connection errors
Symptoms:
Connection refused or Database locked errorsSolutions:- For SQLite: Check file permissions and ensure directory exists
- For PostgreSQL: Verify DATABASE_URL is correct and database is running
- Test connection:
psql $DATABASE_URL - Run migrations:
npm run db:push - For “database locked”: Close other connections or use PostgreSQL
Node dependencies fail to install
Node dependencies fail to install
Symptoms: Peer dependency conflicts or build failuresSolutions:
- Use the
--legacy-peer-depsflag with npm - Try pnpm:
pnpm install --shamefully-hoist - Clear cache:
npm cache clean --force - Delete node_modules and reinstall
- Ensure Node.js version is 22.x or later
Docker build fails
Docker build fails
Symptoms: Build errors or container won’t startSolutions:
- Ensure Docker daemon is running
- Update Docker to latest version
- Clear build cache:
docker builder prune - Check available disk space
- On Windows/Mac, increase Docker memory allocation (Settings → Resources)
- Review logs:
docker compose logs app
ACP agent spawn fails
ACP agent spawn fails
Symptoms: Cannot delegate to OpenCode, Claude, or other agentsSolutions:
- Verify agent binary is installed and in PATH
- Test manually:
opencode --versionorclaude --version - Check Settings → ACP Providers for correct configuration
- For npx-based agents: Ensure internet connection
- Review agent logs in the UI or database
Port 3000 already in use
Port 3000 already in use
Symptoms:
EADDRINUSE: address already in use :::3000Solutions:- Change port:
PORT=3001 npm run dev - Find and kill process:
lsof -ti:3000 | xargs kill(Linux/Mac) - Or:
npx kill-port 3000 - For Docker: Change port mapping in docker-compose.yml
Next Steps
Quickstart
Run your first multi-agent coordination in 5 minutes
Configuration
Configure workspaces, MCP servers, and custom specialists
Core Concepts
Learn about specs, tasks, and coordination patterns
API Reference
Explore the REST and protocol APIs
Upgrading
To upgrade to a newer version:- Desktop
- Web
- Docker
target/release/bundle/ directory.