Skip to content

Installation Guide

This is a prerequisites reference document with platform-specific install commands and resource sizing. For the end-to-end setup walkthrough, start at Getting Started.

Everything you need installed before running Colony: Node.js, Postgres, GitHub auth, Claude Code CLI, and an optional container runtime.


Terminal window
node --version # should print v20.x or higher

If not installed:

Terminal window
# macOS (Homebrew)
brew install node@20
# Other platforms — see https://nodejs.org

Colony stores pipeline state in Postgres. If using Docker Compose to run Colony, Postgres is bundled — skip this section.

Option A: Neon free tier (quickest)

Sign up at neon.tech. Copy the connection string from the dashboard:

postgresql://user:password@ep-xxx.us-east-2.aws.neon.tech/colony?sslmode=require

Option B: Local Docker Postgres

Terminal window
docker run -d \
--name colony-pg \
-e POSTGRES_USER=colony \
-e POSTGRES_PASSWORD=colony \
-e POSTGRES_DB=colony \
-p 5432:5432 \
postgres:17-alpine

Verify:

Terminal window
psql postgresql://colony:colony@localhost:5432/colony -c "SELECT 1;"

Colony needs authenticated access to your repositories.

Personal Access Token (PAT) — quickest for evaluation

Section titled “Personal Access Token (PAT) — quickest for evaluation”
  1. Go to github.com/settings/tokens.
  2. Create a fine-grained or classic token.
  3. Required scopes:
    • Classic: repo scope
    • Fine-grained: Contents, Issues, Pull requests (read & write)

Trade-off: PATs are tied to your personal account. All Colony activity appears as you. Rate limits are lower than GitHub Apps.

Section titled “GitHub App — recommended for ongoing use”

Provides fine-grained permissions, higher rate limits, and bot-attributed activity. See the GitHub App Setup Guide for step-by-step instructions.

For autonomous merging (no human approval), see the dual-app section.


Colony’s agents use Claude for LLM-powered work.

  1. Sign up at console.anthropic.com.
  2. Create an API key.

Verify:

Terminal window
echo $ANTHROPIC_API_KEY | head -c 10 # should print sk-ant-api

Colony’s developer and analyzer agents shell out to claude for implementation.

Terminal window
npm install -g @anthropic-ai/claude-code
claude --version

Terminal window
git --version

If not installed: xcode-select --install (macOS) or your platform’s package manager.


Colony can run as containers (Docker or Apple Container) or as native Node.js processes. Containers are recommended for production; native is fine for evaluation.

Terminal window
# macOS
brew install --cask docker
# Linux — see https://docs.docker.com/engine/install/

Recommended resources:

ResourceMinimum
Memory8 GB
CPUs4
Disk50 GB

Requires macOS 15+ and Apple Silicon.

Terminal window
brew install container
container system start
container system property set build.rosetta false
DeploymentWorkersMemoryCPUsDisk
Single repo (eval)18 GB450 GB
Single repo (prod)2-316 GB8100 GB
Multi-repo3+32 GB16200 GB

VariableRequired ByDescription
DATABASE_URLsprint-master, workersPostgres connection string
ANTHROPIC_API_KEYworkersAnthropic API key for Claude
GITHUB_TOKENsprint-master, workersGitHub PAT (not needed with GitHub App auth)
WEBHOOK_SECRETwebhook-receiverHMAC secret for webhook verification (optional)

Set in your shell or in .env for Docker deployments.

Terminal window
npx colony doctor

Return to Getting Started to configure and run Colony.