Browse documentation
CLI reference
Every devbuild command with what it does and typical usage.
The primary CLI binary is devbuild (with forge available as an alias). All commands accept --help. Commands that change files take a backup first and print what they changed. Errors are shown as a code, a plain message, a suggested fix and a debug ID: see Troubleshooting.
Account
devbuild login
Starts the browser device flow. Prints a code, opens the verification page, and stores your session when you approve. See Authentication.
devbuild logout
Signs this device out and revokes its tokens.
devbuild whoami
Shows the signed-in account, this device, and the license tiers you hold.
Set up
devbuild init
Detects the project, chooses targets and creates devbuildkit.yaml and .devbuildkit/. See devbuild init.
devbuild detect
Prints the detected platform, languages, frameworks, services and evidence, with recommended packs and components.
Discover
devbuild search <term>
Searches the registry by name, description, category and framework.
devbuild info <id>
Shows a component or pack: description, tier, version, dependencies, permissions and supported targets.
devbuild list
Lists what is installed in this project, with versions and whether each is pinned.
Install and change
devbuild install <pack|recommended> [...]
Installs one or more packs by id or alias, or the recommended set for your stack. Verifies every bundle before writing.
devbuild add <kind> <id>
Adds a single component, for example devbuild add agent code-reviewer. Dependencies are resolved automatically.
devbuild remove <id>
Removes a component. Only files DevBuildKit owns are deleted; edited files are reported first.
Update
devbuild check-updates
Compares your lock file with the latest release and lists what has changed, without changing files.
devbuild update [id]
Applies updates using the three-hash algorithm. Local edits are never overwritten silently.
devbuild pin <id> / devbuild unpin <id>
Holds a component at its current version, or releases it.
devbuild diff <id>
Shows differences between the installed file and your edited copy, or between the installed and incoming version.
devbuild status
Shows each component as up to date, update available, pinned or locally modified, and flags missing files.
devbuild rollback
Restores the most recent backup taken before an install or update.
devbuild backup
Creates a backup of DevBuildKit-managed files on demand.
Health
devbuild doctor
Diagnoses the CLI, login, network access, trusted keys and project files, and suggests fixes.
devbuild validate
Validates devbuildkit.yaml, installed components and compiled output for each target.
devbuild compile <target>
Recompiles installed components for one target (claude, codex, cursor, vscode, generic).
Orchestration
These commands run in your project, using your coding agent. They honour qualityGates and orchestration.parallelWorkers in devbuildkit.yaml.
devbuild plan "<goal>"
Breaks a goal into a small task graph and assigns each task to a specialist. Writes the plan under .devbuildkit/plans/ for you to review.
devbuild run [plan]
Executes a plan: independent tasks in parallel, dependent tasks in order, with run logs under .devbuildkit/runs/.
devbuild review
Runs review and quality gates over the current changes, and writes a report under .devbuildkit/reports/.
devbuild ship
Runs the release checklist: gates, release notes and store or deploy preparation, depending on your stack.
Privacy
devbuild telemetry [on|off|status]
Turns anonymous, opt-in telemetry on or off, or shows its state. Off by default. See Telemetry and privacy.
Exit codes
0 success. Non-zero means an error was printed with its FK- code. Use the debug ID when contacting support.