Documentation Index
Fetch the complete documentation index at: https://docs.cake.ai/llms.txt
Use this file to discover all available pages before exploring further.
npm run doctor checks that your machine is ready to run Cake Agents locally.
Use it whenever a npm run dev command fails with a missing binary, an
unexpected Node version, or an unset environment variable.
When to use it
- Before your first
npm run devon a new machine. - After pulling changes that bump
.node-versionor add new tooling. - When a dev command reports a missing executable on
PATH. - When the server exits before listening (often a missing
DATABASE_URL).
Run it
From the repository root:What it checks
The output is grouped into sections.Binaries
| Check | Required | Notes |
|---|---|---|
node | yes | Install Node or use nix develop. |
npm | yes | Bundled with Node. |
direnv | yes | After install, run direnv allow. |
nix | recommended | Provides the flake dev shell. |
kubectl | for default flow | Required for AWS/K8s dev. |
ktunnel | for default flow | Required for AWS/K8s dev. |
docker | optional | Some tests and image builds. |
helm | optional | Required for Helm deploy workflows. |
Repo
node-version— Compares the installed Node version against.node-version. A mismatch prints awarnline; the dev shell pins the expected version..envrc— Confirms the file is present (expected for the default dev flow).
Environment
direnv— Confirms direnv is loaded in the current shell. If not, rundirenv allowand re-open the shell.DATABASE_URL— Must be set. The server will not start without it.DATA_PLANE_IMAGE/DATA_PLANE_INIT_IMAGE— Should both be set. Thedev:localscript sets dummy defaults for the sandboxed fallback.
Example output
ok is healthy, warn is informational, and miss
indicates a missing required binary that will block local development.