Getting Started
create-samrose-app is an opinionated CLI that scaffolds a modern Next.js app with your preferred stack - ORM, database, auth, state management, API layer, and more - all wired together and ready to ship.
No config files to write. No wiring to do. Run the CLI, answer a few prompts, and your production-ready project is ready.
Run CLI
One command to start
Pick your stack
Interactive prompts
Start building
Fully wired project
Installation
Works with all major package managers. Pick whichever you prefer:
npx create-samrose-appnpm i -g create-samrose-app && create-samrose-apppnpm dlx create-samrose-appyarn dlx create-samrose-appbunx create-samrose-appRecommended
Use npx to always run the latest version without a global install.
npx create-samrose-appUsage
After running the CLI, an interactive prompt guides you through each choice. Every selection is fully configured - no manual setup needed.
? Enter project name โบ my-app
? Select ORM โบ Prisma
? Select Database โบ PostgreSQL
? Select Authentication โบ NextAuth
? Add shadcn/ui? โบ Yes
? Select State Management โบ Zustand
? Select API Layer โบ tRPC
? Select Testing โบ Vitest
? Add Docker? โบ Yes
? Add GitHub Actions? โบ Yes
? Add Husky? โบ Yes
โ Creating project...
โ Installing dependencies...
โ Done! cd my-app && npm run devUse the --yes flag to skip all prompts and scaffold with sensible defaults instantly.
Stack Options
Every combination is supported and correctly configured out of the box.
ORM
Choose your preferred database ORM to match your project needs.
Database
Pick from battle-tested databases for any scale.
Authentication
Secure your app with the right auth solution.
UI Components
Optional beautiful component libraries for rapid UI development.
State Management
Manage your application state with proven solutions.
API Layer
Define your API architecture from the start.
Testing
Ship with confidence using modern testing frameworks.
Extras
Production-ready tooling from day one.
Requirements
Node.js 18+
Minimum supported version
npm, pnpm, yarn, or bun
Any package manager works
macOS, Windows, or Linux
All platforms supported
Development
Want to contribute or run the CLI locally? Clone the repo and follow these steps:
1 - Clone & install
git clone https://github.com/samrosemohammed/create-samrose-app
cd create-samrose-app
npm install2 - Run in dev mode
npm run dev3 - Build & dry-run publish
npm run build
npm pack --dry-runWant to contribute?
PRs and issues are always welcome.