A beautiful, opinionated CLI tool to scaffold fully-featured Next.js 15+ projects with ease.
Supports shadcn/ui, Better-Auth, Prisma or Drizzle, SQLite setup, multi-package manager support (pnpm
, npm
, bun
) — and all the batteries included!
- ⚡ Fast and interactive setup with
@clack/prompts
- 📦 Supports
pnpm
,npm
, andbun
- 🎨 Fully configured shadcn/ui
- 🛠️ Choose between Prisma or Drizzle as the database adapter
- 🔐 Authentication powered by Better Auth (pre-integrated)
- 🧩 Modular structure with optional src/ directory support
- 🧱 Prebuilt templates for layout, components, theme provider, and more
# Using pnpm
pnpm dlx nextjs-start-cli
# Using npm
npx nextjs-start-cli
# Using bun
bunx nextjs-start-cli
After running the CLI, you'll get:
- A fresh Next.js app (
app/
directory routing) tailwind.config.ts
andpostcss.config.js
@shadcn/ui
installed and configured with dark/light mode- Components like
Button
,DropdownMenu
,ThemeProvider
,ModeToggle
- Optional
Prisma
orDrizzle
+ SQLite setup - Database schema or config files
Latest prisma client setup
- Optional Database
seeding script
- Full
Better-Auth
set-up forclient
andserver
components - Sensible
.gitignore
and initial env scaffolding
After running the CLI:
# Start your Next.js project
cd your-project-name
pnpm dev
If you chose Prisma:
pnpm dlx prisma migrate dev
If you chose Drizzle:
pnpm dlx drizzle-kit generate
Contributions, ideas, and feedback are welcome!
Feel free to open issues or submit pull requests.
MIT © Abdulfetah Suudi
If you find this project helpful, consider starring the repo ⭐
That helps others discover it!