Quickstart
Language: English · 简体中文
CrewDesk runs on a single Bun + SQLite process pair — no Docker Compose, no Postgres, and no Redis required.
Option 1: Prebuilt CLI + Gateway (Fastest)
Install oma together with the prebuilt backend + web gateway bundle (requires tar and zstd; Bun is installed automatically if missing):
curl -fsSL https://raw.githubusercontent.com/Chengchcc/crewdesk/master/scripts/install.sh | OMA_VERSION=rc sh
oma gateway up # foreground; use `oma gateway up -d` for background
OMA_VERSION=rcselects the release-candidate npm channel whileoma gatewayis in RC. The installer writes files under~/.oma/gateway/and never auto-starts background daemons.
Manual npm/Bun install alternative:
bun add -g @chengchenccc/oh-my-agent@rc
oma gateway fetch # required because Bun skips dependency postinstall scripts
oma gateway up -d
First Sign-In
- Open
http://127.0.0.1:3001/login. - Sign in with the password printed by
oma gateway up(saved with0600permissions in~/.oma/gateway-secrets.json). - Rotate it anytime via Settings → Login password or
oma gateway passwd.
Code (~/.oma/gateway/) and state (~/.oma/gateway-data/) stay strictly separate, so oma update upgrades the stack without touching your SQLite database, artifacts, or workspaces.
Option 2: Run from Source
Prerequisites: Bun >= 1.3.14 (1.4.4 in CI), ripgrep, bubblewrap, and openssl.
git clone https://github.com/Chengchcc/crewdesk.git
cd crewdesk
bun install
export ANTHROPIC_API_KEY=sk-ant-... # or configure any provider via dev:backend + dev:web
bun run dev
bun run dev runs scripts/predev.sh (generates .env files with random BACKEND_AUTH_TOKEN, SESSION_SECRET, and MOCK_PASSWORD, applies Drizzle migrations, and copies Monaco assets) and starts backend (:3000) + web (:3001).
Verify health:
curl -s http://127.0.0.1:3000/health
# {"status":"ok"}
Configure Your First Provider & Run a Task
- Open System → Settings (
/system/settings) and add an API key (Anthropic, OpenAI, DeepSeek, Groq, or OpenRouter), or configure custom endpoints in~/.oma/models.yml(see Providers &models.yml). - Open Team & Projects → Projects (
/team/projects) — or type/project_managein chat — to register a local Git repository and bind it to your Coder worker. - Open Work sessions (
/chat) and send your first goal to the Personal Assistant:"Inspect the repository layout, summarize the key entrypoints in 5 bullets, and save a short overview artifact."
Next: explore Today & Chat Console or PA + Worker Team Model.