Installation
Get Baeta up and running in your project in just a few steps.
Requirements
- Node.js version 22.12.0 or above (while Bun and Deno are supported, Node is still needed for the CLI)
- TypeScript version 5.6 or above
- Package manager of your choice (npm, yarn, pnpm or bun)
Quick Start
Baeta comes with a create baeta
command to quickly set up a new project:
- yarn
- npm
- pnpm
- bun
- yarn 2+
yarn create baeta
npx create-baeta
pnpm create baeta
bun create baeta
yarn dlx create-baeta
If you prefer to set up the project manually, follow the steps below.
Setup
1. Core Package
First, install the core package which provides all essential functionality:
- yarn
- npm
- pnpm
- bun
yarn add @baeta/core
npm install @baeta/core
pnpm add @baeta/core
bun add @baeta/core
This is all you need at runtime for a basic Baeta installation.
2. Development Tools
For the best development experience, install our CLI and compiler tools:
- yarn
- npm
- pnpm
- bun
yarn add @baeta/cli @baeta/compiler -D
npm install @baeta/cli @baeta/compiler -D
pnpm add @baeta/cli @baeta/compiler -D
bun add @baeta/cli @baeta/compiler -D
The compiler is optional but recommended as it provides:
- TypeScript configuration support
- Hot reload of the application
Next Steps
Once installed, proceed to configuration to set up your project.