Skip to content

Installation

The only thing you install on your machine is the builder CLI, which ships the engine. The SDK is added per project, usually automatically.

Run builder --version to check your installed CLI version.

With Homebrew installed, grab the CLI (the builder binary) from the tap:

Terminal window
brew install project-builder-schematics/tap/pbuilder

No Homebrew at all? Download the per-platform tarball from the tap’s releases (pbuilder_<version>_linux_amd64.tar.gz and friends) and put builder on your PATH.

You don’t need to install Bun. Schematics run in a Bun sidecar, and the CLI provisions it: the first time it runs a schematic, it downloads a pinned Bun release, checks it against a known SHA-256 hash and caches it. That first run needs network access; later runs use the cache.

Since v0.13.0 the CLI ships Windows builds for amd64 and arm64. With Scoop installed, add the tap as a bucket and install builder.exe:

Terminal window
scoop bucket add pbuilder https://github.com/Project-Builder-Schematics/homebrew-tap
scoop install pbuilder

Without Scoop, download pbuilder_<version>_windows_amd64.zip (or _arm64) from the tap’s releases and put builder.exe on your PATH.

You normally don’t install it by hand: builder init adds @pbuilder/sdk to your project’s devDependencies automatically. To add it manually, use whichever package manager your project already uses:

Terminal window
npm install -D @pbuilder/sdk # or: pnpm add -D / yarn add -D / bun add -d

The SDK and the CLI must fit each other: @pbuilder/sdk 0.24.0, 0.25.0 and 0.26.0 require the builder CLI v0.24.0 or later, because older CLIs ship an engine that rejects their larger frames. A factory that does not catch a read over the 8 MiB read cap fails with its own error, execute_read_ceiling_exceeded, only with SDK 0.26.0 and CLI v0.26.0 or later; older pairs report engine_native_developer_fault. Check both with builder --version and npm ls @pbuilder/sdk, and upgrade the CLI first.

Just trying Project Builder out? You can run it without declaring the SDK in package.json. See Evaluate without adopting the SDK.

With the CLI in place, you’re ready for your first schematic.