Installation
Requirements
- Node.js 22.20.0 or later — Bun and Deno are supported at runtime, but the CLI runs on Node.
- TypeScript 5.6 or later.
- Any package manager (npm, yarn, pnpm, bun).
Quick start
The fastest way to start a new project:
- yarn
- npm
- pnpm
- bun
- yarn v1
yarn dlx create-baeta
npx create-baeta
pnpm create baeta
bun create baeta
yarn create baeta
This scaffolds a Baeta project with a sensible default layout. To set things up manually, add the two packages below.
Manual setup
Runtime:
- yarn
- npm
- pnpm
- bun
yarn add @baeta/core
npm install @baeta/core
pnpm add @baeta/core
bun add @baeta/core
Build tooling:
- yarn
- npm
- pnpm
- bun
yarn add @baeta/cli -D
npm install @baeta/cli -D
pnpm add @baeta/cli -D
bun add @baeta/cli -D
Next
Continue to Configuration to point Baeta at your schema files.