nextjs-start-cli
v0.1.3
Published
"Bootstrap your next.js project with pre-setup shadcn configured with its theme-provider, prisma/drizzle adapters, seeding script, and better-auth."
Downloads
24
Maintainers
Readme
🚀 nextjs-start-cli
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!
🎥 Demo
✨ Features
- ⚡ 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
📦 Installation
# Using pnpm
pnpm dlx nextjs-start-cli
# Using npm
npx nextjs-start-cli
# Using bun
bunx nextjs-start-cli🧪 What You Get
After running the CLI, you'll get:
- A fresh Next.js app (
app/directory routing) tailwind.config.tsandpostcss.config.js@shadcn/uiinstalled and configured with dark/light mode- Components like
Button,DropdownMenu,ThemeProvider,ModeToggle - Optional
PrismaorDrizzle+ SQLite setup - Database schema or config files
Latest prisma client setup- Optional Database
seeding script - Full
Better-Authset-up forclientandservercomponents - Sensible
.gitignoreand initial env scaffolding
🛠️ Usage
After running the CLI:
# Start your Next.js project
cd your-project-name
pnpm devIf you chose Prisma:
pnpm dlx prisma migrate devIf you chose Drizzle:
pnpm dlx drizzle-kit generate📦 Tech Stack
🙌 Contributing
Contributions, ideas, and feedback are welcome!
Feel free to open issues or submit pull requests.
📜 License
MIT © Abdulfetah Suudi
⭐️ Show your support
If you find this project helpful, consider starring the repo ⭐
That helps others discover it!
