Scaffold production-ready Turborepo monorepos in seconds, not days.
create-turbo-stack is an opinionated, interactive CLI that generates fully wired Turborepo workspaces with real-world patterns: database layer, auth, API routing, shared UI, environment validation, cross-package Tailwind CSS, and more.
create-turbo gives you a near-empty skeleton. Getting from skeleton to production-ready requires days of manual wiring:
- Tailwind 4
@sourcedirectives across packages (miss one → silent CSS purging) catalog:dependency management synchronized across all workspaces@t3-oss/env-nextjsvalidation chains per app- tRPC router wiring, Supabase client setup, auth middleware
- TypeScript config inheritance chains
create-turbo-stack automates all of this.
npx create-turbo-stack my-projectOr use a preset:
npx create-turbo-stack --preset https://create-turbo-stack.dev/s/saas-starter.json- Interactive scaffolding — Choose your stack: database, API, auth, CSS, integrations
- Wiring engine — CSS
@source, catalog deps, env chains, tsconfig inheritance — all automated - Incremental additions —
create-turbo-stack add app,add package,add integration - Preset system — Save, share, and reuse stack configurations (inspired by shadcn registry)
- Web builder — Visual stack configurator with live file tree preview at create-turbo-stack.dev
- MCP server — AI agents (Claude Code, Cursor) can scaffold via Model Context Protocol
- Idempotent operations — Safe to re-run, won't duplicate or overwrite manual changes
| Category | Options |
|---|---|
| Package Manager | bun, pnpm, npm, yarn |
| Database | Supabase, Drizzle, Prisma, none |
| API | tRPC v11, Hono, Next.js API Routes, none |
| Auth | Supabase Auth, Better Auth, Clerk, NextAuth, Lucia, none |
| CSS | Tailwind 4, Tailwind 3, vanilla, CSS Modules |
| UI | shadcn/ui, Radix (raw), none |
| Apps | Next.js, Expo, Hono, Vite (React/Vue), SvelteKit, Astro, Remix, Tauri |
| Integrations | Sentry, PostHog, Plausible, React Email + Resend, Upstash, Vercel AI SDK |
npx create-turbo-stackInteractive prompts guide you through every decision.
# Add a new app
npx create-turbo-stack add app
# Add a new package
npx create-turbo-stack add package
# Add an integration (e.g., Sentry, analytics)
npx create-turbo-stack add integration# Built-in presets
npx create-turbo-stack --preset minimal
npx create-turbo-stack --preset saas-starter
npx create-turbo-stack --preset api-only
# Community presets (any URL)
npx create-turbo-stack --preset https://example.com/my-stack.jsonnpx create-turbo-stack mcpSee MCP documentation for setup with Claude Code, Cursor, etc.
Share your stack with the community! Create a preset JSON conforming to the preset schema and host it at any URL.
# Anyone can use your preset
npx create-turbo-stack --preset https://your-site.com/your-stack.jsonSee Registry documentation for details on creating and publishing presets.
This is a Turborepo monorepo:
create-turbo-stack/
├── apps/
│ └── web/ # Landing page + builder + community presets
├── packages/
│ ├── cli/ # CLI entry point (npx create-turbo-stack)
│ ├── core/ # Platform-agnostic business logic
│ ├── schema/ # Zod schemas for presets, config, registry
│ └── templates/ # EJS template files for code generation
├── presets/ # Built-in preset definitions
└── docs/ # Documentation
We welcome contributions! See CONTRIBUTING.md for guidelines.