Browse documentation
Installation
System requirements, installing and updating the DevBuild CLI, offline behaviour and uninstalling.
Requirements
| Requirement | Notes |
|---|---|
| Node.js | 20 or newer |
| Operating system | macOS, Linux and Windows (including WSL) |
| Git | Recommended: DevBuildKit works best in a git repository so changes are reviewable |
| Network | Needed for login, install, update and check-updates. Installed files work offline |
Install the CLI
npm i -g @devbuildkit/cli
Check it worked (both devbuild and shorthand forge are supported):
devbuild --version
devbuild doctor
devbuild doctor checks your Node version, your login state, network access to the registry, the trusted signing keys bundled with the CLI, and the health of your project files.
Update the CLI
Update it the same way you installed it:
npm i -g @devbuildkit/cli@latest
The CLI and the component releases are versioned separately. Each component declares the minimum CLI version it needs (compatibility.minForgeVersion), and the CLI will tell you if a component requires a newer CLI.
What gets written to your project
| Path | Purpose | Commit it? |
|---|---|---|
devbuildkit.yaml (or forgekit.yaml) | Your project configuration | Yes |
devbuildkit.lock (or forgekit.lock) | Exact component versions and hashes for reproducible installs | Yes |
.devbuildkit/manifest.json (or .forgekit/) | What is installed and the official hash of every generated file | Yes |
.devbuildkit/overrides/ | Your project-specific additions to components | Yes |
.devbuildkit/backups/ | Automatic backups taken before installs and updates | No (git-ignored) |
.devbuildkit/cache/, .devbuildkit/runs/ | Local caches and run logs | No (git-ignored) |
.claude/, .codex/, .cursor/, .github/, docs/devbuildkit/ | Compiled components for each enabled target | Yes |
devbuild init adds the local-only entries to .gitignore for you.
Using DevBuildKit in CI
Installed components are plain files, so CI does not need DevBuildKit at all. If you want CI to verify that nothing drifted, run devbuild validate and devbuild status in a job after installing the CLI.
Uninstalling
Remove a component with devbuild remove <id>. DevBuildKit deletes only files it owns and warns about any that you edited. To remove the CLI itself run npm rm -g @devbuildkit/cli. Files already written to your repository stay until you delete them: DevBuildKit never deletes installed files remotely, even if a license is refunded.