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.
macOS / Linux
Section titled “macOS / Linux”With Homebrew installed, grab the CLI (the builder binary) from the
tap:
brew install project-builder-schematics/tap/pbuilderThis needs a recent Homebrew. The cask install is verified on Homebrew 6.x; older versions refuse casks on Linux.
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.
That Bun is only the schematics’ runtime and never goes on your PATH. Your project
keeps whatever package manager and tooling it already uses (npm, pnpm, yarn, …).
Windows
Section titled “Windows”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:
scoop bucket add pbuilder https://github.com/Project-Builder-Schematics/homebrew-tapscoop install pbuilderWithout Scoop, download pbuilder_<version>_windows_amd64.zip (or _arm64) from the
tap’s releases and put
builder.exe on your PATH.
A release is published only after a Windows job builds builder.exe and runs
--version, --help, init, new collection, new schematic and info in a fresh
workspace. builder execute is not verified on Windows yet, and part of the CLI’s Windows
test suite still fails, including the trust checks on the manifest root and the SDK root
that execute runs. To run schematics, WSL2 (Ubuntu) with the Linux instructions above
remains the tested path.
The SDK itself
Section titled “The SDK itself”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:
npm install -D @pbuilder/sdk # or: pnpm add -D / yarn add -D / bun add -dThe 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.