Docs / CLI
Open documentation actions
Check Projects
Diagnose existing Better Fullstack projects from the CLI.
The check command validates a scaffolded Better Fullstack project. It is the user-facing alias for the existing doctor command.
npm create better-fullstack@latest check -- --skip-checksWhat check does
- Reads and validates
bts.jsonc. - Checks whether dependencies are installed for the detected package manager or ecosystem.
- Reports missing required environment variables from
.env.examplefiles. - Runs available generated-project type or build checks unless
--skip-checksis passed. - Supports
--jsonfor agents and CI scripts.
Flags
| Flag | Behavior |
|---|---|
| positional project directory | Project directory to diagnose. Defaults to the current directory. |
--skip-checks | Skip generated type/build checks and only inspect config, dependencies, and env files. |
--json | Print structured JSON. The command exits non-zero when failures are present. |
Doctor Alias
doctor remains available for compatibility:
npm create better-fullstack@latest doctor -- --skip-checks