Requirements
System requirements and prerequisites for running CodePilot locally or in production.
CodePilot requires several runtime dependencies and services to operate. This page lists all requirements for both development and production environments.
System Requirements
| Requirement | Minimum | Recommended |
|---|---|---|
| CPU | 4 cores | 8+ cores |
| RAM | 8 GB | 16+ GB |
| Disk | 20 GB free | 50+ GB free |
| OS | macOS, Linux, Windows (WSL2) | macOS or Linux |
Why high RAM?
Ollama loads AI models into memory. The qwen2.5:7b model alone requires ~4.4 GB of RAM. Running all three models concurrently benefits from 16 GB or more.
Runtime Dependencies
Node.js
Node.js 20 or later is required. We recommend using a version manager:
nvm install 20
nvm use 20fnm install 20
fnm use 20volta install node@20pnpm
pnpm 10 or later is required for workspace management:
corepack enable
corepack prepare pnpm@latest --activateDocker & Docker Compose
Docker is used to run PostgreSQL and Redis in development, and all services in production.
- Docker Desktop (macOS / Windows)
- Docker Engine (Linux)
Verify the installation:
docker --version
docker compose versionOllama
Ollama runs AI models locally. Install it from ollama.ai/download.
After installation, pull the required models:
ollama pull nomic-embed-text # Embeddings (required)
ollama pull qwen2.5-coder:3b # Chat & code review (required)
ollama pull qwen2.5:7b # Repository intelligence (optional)GitHub App
For GitHub OAuth and webhook integration, you need a GitHub App. See Authentication for setup instructions.
Services
CodePilot depends on the following services, all of which are provided via Docker Compose:
| Service | Image | Default Port | Purpose |
|---|---|---|---|
| PostgreSQL | pgvector/pgvector:pg18 | 5432 | Primary database with vector support |
| Redis | redis/redis-stack:latest | 6379 | Job queue (BullMQ) and caching |
| RedisInsight | (included in Redis Stack) | 8001 | Redis GUI for monitoring |
Network Ports
Ensure these ports are available on your machine:
| Port | Service |
|---|---|
3000 | Next.js frontend |
3001 | Documentation site |
5432 | PostgreSQL |
6379 | Redis |
8001 | RedisInsight |
8080 | Express API |
11434 | Ollama |