ReferenceCLI commands
sdods doctor
Check the toolchain, browsers, projects, variables and database.
sdods doctor [-p <slug>] [--fix] [-w <n>] [--json]| Check | Detail |
|---|---|
| node | version 22 or newer |
| bun | optional accelerator |
| runner | test runner present |
| browser:chromium / firefox / webkit | executable installed; --fix installs missing ones |
| projects | at least one project discovered |
<slug>/<env> vars | every ${VAR} without a default resolves from .env files or the shell |
<slug>/<env> user pool | accounts per role against the worker count (-w, else SDODS_WORKERS, else Playwright's default); advisory, never fails the command |
| database | DB_DRIVER and DATABASE_URL consistent |
Exit code 1 when any check fails; --json prints the check list.