Complete CLI Reference
Every documented npx rapidkit command — workspace intelligence, adopt/import, kits, archives, doctor, infra, and Core-delegated module operations — with ownership labels and no gaps.
Showing 90 of 90 documented npm surface commands across 18 groups.
Getting started
Interactive create flows and the my-workspace quick-start alias.
npx rapidkit createPrompt: workspace or project
npx rapidkit create workspace <name> [--profile <profile>] [--author <name>] [--yes]npx rapidkit my-workspace [--here]Quick-start workspace alias
npx rapidkit create project <kit> <name> [--yes] [--skip-install] [--skip-git] [--output <dir>]npx rapidkit create frontend <id> <name>Alias for frontend generators (same as create project)
Workspace compliance & CI
Bootstrap, analyze, readiness, pipeline, and autopilot release gates.
npx rapidkit bootstrap [--profile <profile>] [--json] [--compliance-only]npx rapidkit setup <python|node|go|java|dotnet> [--warm-deps]npx rapidkit pipeline [--json] [--strict] [--skip-verify] [--skip-analyze] [--skip-autopilot] [--autopilot-mode <audit|safe-fix|enforce>]npx rapidkit analyze [--workspace <path>] [--json] [--strict] [--output <file>]npx rapidkit readiness [--json] [--strict] [--skip-verify]npx rapidkit autopilot release [--mode <audit|safe-fix|enforce>] [--json] [--output <file>] [--since <ref>] [--parallel] [--max-workers <n>]Workspace intelligence
Model, context, diff, impact, verify, and agent sync artifacts in-repo.
npx rapidkit workspace model [--json] [--write] [--strict]npx rapidkit workspace context --for-agent [codex|claude|cursor|orca] [--json] [--write] [--no-agent-sync]npx rapidkit workspace agent-sync [--write] [--refresh-context] [--strict] [--json] [--preset minimal|enterprise] [--target all|vscode|copilot,cursor,claude] [--experimental-hooks]npx rapidkit workspace snapshot [--json]npx rapidkit workspace diff --from <snapshot-or-report|git[:ref]> [--json]npx rapidkit workspace impact --from <snapshot-or-report> [--scope project:<name>] [--json]npx rapidkit workspace verify [--from-impact <file>] [--scope project:<name>] [--strict] [--json]npx rapidkit workspace explain [--json]npx rapidkit workspace trace [--from <path>] [--json]Workspace contract & registry
Contract init, inspect, verify, graph, sync, policy, and foundation.
npx rapidkit workspace sync [--json]npx rapidkit workspace policy shownpx rapidkit workspace policy set <key> <value>npx rapidkit workspace listnpx rapidkit workspace foundation ensure [--force] [--json]npx rapidkit workspace share [--output <file>] [--include-paths] [--no-doctor]npx rapidkit workspace contract init [--force] [--json]npx rapidkit workspace contract inspect [--json]npx rapidkit workspace contract verify [--strict] [--json]npx rapidkit workspace contract graph [--json]npx rapidkit workspace initWorkspace archive & hydrate
Portable archive export, inspect, verify, doctor, and hydrate.
npx rapidkit workspace export --output team-workspace.rapidkit-archive.zipnpx rapidkit workspace archive inspect team-workspace.rapidkit-archive.zip [--json]npx rapidkit workspace archive verify team-workspace.rapidkit-archive.zip [--strict] [--json]npx rapidkit workspace archive doctor team-workspace.rapidkit-archive.zip [--strict] [--json]npx rapidkit workspace hydrate team-workspace.rapidkit-archive.zip --output ./team-workspaceAdopt & import
Register existing repositories without moving source.
npx rapidkit adopt [path] [--workspace <path>] [--name <project-name>] [--dry-run] [--json]npx rapidkit import <path|git-url> [--workspace <path>] [--name <project-name>] [--git] [--json]Snapshots
Named workspace snapshots with restore and inspect.
npx rapidkit snapshot create [name] [--include-projects] [--reason <text>] [--json]npx rapidkit snapshot list [--json]npx rapidkit snapshot inspect <name> [--json]npx rapidkit snapshot restore <name> [--dry-run] [--force] [--json]Project lifecycle
Runtime-aware init, dev, test, build, and start — orchestrated by npm first.
npx rapidkit project commands [--json]npx rapidkit commands --scope project [--json]npx rapidkit initnpx rapidkit devnpx rapidkit testnpx rapidkit buildnpx rapidkit startnpx rapidkit lintnpx rapidkit formatProject archive lifecycle
Archive, list, restore, and delete projects inside a workspace.
npx rapidkit project archive <name> [--reason <text>] [--dry-run] [--json]npx rapidkit project archives [--json]npx rapidkit project restore <archive> [--name <project-name>] [--force] [--dry-run] [--json]npx rapidkit project delete <name> [--permanent --confirm <name>] [--dry-run] [--json]Doctor & health
Workspace and project health with optional fix plans.
npx rapidkit doctornpx rapidkit doctor workspace [--json] [--strict] [--ci] [--fix] [--plan] [--apply]npx rapidkit doctor project [--json] [--strict] [--ci] [--fix] [--plan] [--apply]Workspace fleet run
Orchestrate init, test, build, and start across projects.
npx rapidkit workspace run <init|test|build|start> [--affected] [--blast-radius] [--since <ref>] [--parallel] [--max-workers <n>] [--strict] [--json]Infrastructure sidecar
Docker Compose plan, up, down, and status for workspace infra.
npx rapidkit infra plan [--workspace <path>] [--json] [--dry-run] [--verbose]npx rapidkit infra up [--workspace <path>] [--no-plan] [--build]npx rapidkit infra down [--workspace <path>] [--volumes]npx rapidkit infra status [--workspace <path>] [--json] [--strict]Cache & mirror
Offline cache and vendor mirror maintenance.
npx rapidkit cache <status|clear|prune|repair>npx rapidkit mirror <status|sync|verify|rotate>AI (npm wrapper)
Module recommendations and embedding maintenance.
npx rapidkit ai recommend [query] [-n, --number <count>] [--json]npx rapidkit ai info [--json]npx rapidkit ai generate-embeddings [--json]npx rapidkit ai update-embeddings [--json]Config (npm wrapper)
User-level RapidKit CLI configuration.
npx rapidkit config set-api-key [--key <key>]npx rapidkit config shownpx rapidkit config remove-api-keynpx rapidkit config ai <enable|disable|status>Shell activation
Print shell activation snippets for workspace environments.
npx rapidkit shell activateDiscovery & catalog
Command surfaces and engine catalog (create/list/info may delegate to Core).
npx rapidkit commands [--scope workspace|project] [--json]npx rapidkit listCore catalog — may delegate
npx rapidkit info <module>Core catalog — may delegate
npx rapidkit frameworksCore catalog — may delegate
npx rapidkit licenseCore catalog — may delegate
Core modules (delegated when Core-backed)
Available on FastAPI/NestJS Core-backed projects; blocked on npm-only runtimes.
npx rapidkit add module <module>npx rapidkit modules listnpx rapidkit modules search <query>npx rapidkit upgrade module <module>npx rapidkit diff module <module>npx rapidkit merge module <module>npx rapidkit reconcile module <module>npx rapidkit rollback module <module>npx rapidkit uninstall module <module>npx rapidkit checkpoint create [name]npx rapidkit optimize module <module>Source of truth: rapidkit-npm/docs/commands-reference.md