Getting Started
Quickstart & CLI
Create your first Froot project in seconds with create-frootjs.
The fastest way to start building with Froot is using the official CLI generator, create-frootjs.
Interactive Project Creation
Run the interactive scaffolding wizard in your terminal:
bash
npm create frootjs@latestFollow the prompts to choose your project name, architecture template, database ORM, linter, test framework, and Docker support.
Non-Interactive Command Recipes
For automated setups, CI/CD pipelines, or AI agents, pass flags non-interactively with -y:
Enterprise Modular Architecture
bash
npm create frootjs my-app -t modular --db drizzle --docker --linter biome --test vitest -yMVC / Layered Architecture
bash
npm create frootjs my-app -t mvc --db drizzle --linter biome --test vitest -yReal-Time Streaming & SSE
bash
npm create frootjs my-stream --template streaming -yReal-Time WebSockets
bash
npm create frootjs my-ws --template websocket -yStarting Your Application
Navigate into your newly generated project folder:
bash
cd my-app
pnpm install
pnpm run devYour server will start with hot-reloading enabled on http://localhost:3000.