Skip to content

Installation

Two things need to be on your machine: the builder CLI (which ships the engine) and Bun, the runtime schematics execute in. The SDK itself 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.

Schematics execute through a Bun sidecar, so Bun must be installed too:

Terminal window
brew install oven-sh/bun/bun # or: curl -fsSL https://bun.sh/install | bash

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

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 and Bun in place, you’re ready for your first schematic.