coderClaw

Setup

If you are setting up for the first time, start with [Getting Started](/start/getting-started). For wizard details, see [Onboarding Wizard](/start/wizard).

Last updated: 2026-01-01

TL;DR

Prereqs (from source)

Tailoring strategy (so updates don’t hurt)

If you want “100% tailored to me” and easy updates, keep your customization in:

Bootstrap once:

coderclaw setup

From inside this repo, use the local CLI entry:

coderclaw setup

If you don’t have a global install yet, run it via pnpm coderclaw setup.

Run the Gateway from this repo

After pnpm build, you can run the packaged CLI directly:

node coderclaw.mjs gateway --port 18789 --verbose

Stable workflow (macOS app first)

  1. Install + launch CoderClaw.app (menu bar).
  2. Complete the onboarding/permissions checklist (TCC prompts).
  3. Ensure Gateway is Local and running (the app manages it).
  4. Link surfaces (example: WhatsApp):
coderclaw channels login
  1. Sanity check:
coderclaw health

If onboarding is not available in your build:

Bleeding edge workflow (Gateway in a terminal)

Goal: work on the TypeScript Gateway, get hot reload, keep the macOS app UI attached.

0) (Optional) Run the macOS app from source too

If you also want the macOS app on the bleeding edge:

./scripts/restart-mac.sh

1) Start the dev Gateway

pnpm install
pnpm gateway:watch

gateway:watch runs the gateway in watch mode and reloads on TypeScript changes.

2) Point the macOS app at your running Gateway

In CoderClaw.app:

3) Verify

coderclaw health

Common footguns

Credential storage map

Use this when debugging auth or deciding what to back up:

Updating (without wrecking your setup)

Linux (systemd user service)

Linux installs use a systemd user service. By default, systemd stops user services on logout/idle, which kills the Gateway. Onboarding attempts to enable lingering for you (may prompt for sudo). If it’s still off, run:

sudo loginctl enable-linger $USER

For always-on or multi-user servers, consider a system service instead of a user service (no lingering needed). See Gateway runbook for the systemd notes.