CLI Reference
All commands available in the Delimit CLI.
npm install -g delimit-cli
Or use npx delimit-cli without installing.
setupFreeInitialize Delimit in your project. Detects OpenAPI specs, creates .delimit/ config, and sets default policies.
npx delimit-cli setup
initFreeInitialize a Delimit workspace with ledger and memory. Use this for cross-model continuity without API governance.
npx delimit-cli init
lintFreeCheck an OpenAPI spec for breaking changes and policy violations. Compares against the last known version or a specified baseline.
npx delimit-cli lint <spec> [--policy <file>]
Flags
--policy <file> Custom policy file --strict Treat all warnings as errors --json Output as JSON
diffFreeStructural diff between two OpenAPI specs. Lists all additions, removals, and modifications with semver classification.
npx delimit-cli diff <old-spec> <new-spec>
Flags
--json Output as JSON --summary One-line summary only
thinkFreeEnter governed thinking mode. Delimit loads your ledger, checks governance health, and helps you plan your next move.
delimit think
buildFreeEnter governed build mode. Runs the full build loop: load context, execute tasks from the ledger, run tests, update state.
delimit build
askFreeQuery Delimit about your project. Searches ledger, memory, and governance state to answer questions.
delimit ask "what's the status of auth?"
doctorFreeDiagnose your Delimit installation. Checks MCP server connectivity, ledger integrity, and policy configuration.
npx delimit-cli doctor
tryFreeTry Delimit on a demo repository. Downloads a sample project with breaking changes and runs lint + diff to show the output.
npx delimit-cli try
demoFreeRun an interactive demo of all Delimit capabilities. Walks through governance, ledger, and cross-model features.
npx delimit-cli demo
MCP Server
The CLI is for direct use. For AI assistants (Claude Code, Codex, Gemini, Cursor), use the MCP server which exposes 30+ tools through the Model Context Protocol. See the full tool reference on the docs overview page.