DocsCLI Reference

CLI Reference

All commands available in the Delimit CLI.

npm install -g delimit-cli

Or use npx delimit-cli without installing.

setupFree

Initialize Delimit in your project. Detects OpenAPI specs, creates .delimit/ config, and sets default policies.

npx delimit-cli setup
initFree

Initialize a Delimit workspace with ledger and memory. Use this for cross-model continuity without API governance.

npx delimit-cli init
lintFree

Check 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
diffFree

Structural 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
thinkFree

Enter governed thinking mode. Delimit loads your ledger, checks governance health, and helps you plan your next move.

delimit think
buildFree

Enter governed build mode. Runs the full build loop: load context, execute tasks from the ledger, run tests, update state.

delimit build
askFree

Query Delimit about your project. Searches ledger, memory, and governance state to answer questions.

delimit ask "what's the status of auth?"
doctorFree

Diagnose your Delimit installation. Checks MCP server connectivity, ledger integrity, and policy configuration.

npx delimit-cli doctor
tryFree

Try Delimit on a demo repository. Downloads a sample project with breaking changes and runs lint + diff to show the output.

npx delimit-cli try
demoFree

Run 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.