Getting Started

CLI options

Every prompt Nextkit asks, in order, with the available choices and defaults. Press Enter to accept a default.

Project name

The name of your project and the folder it's created in. Defaults to cli-app. You can also pass it as an argument: npx @mxrcxs17/next-kit@latest my-app.

Location

Where to create the project. Defaults to the current working directory; the project folder is created inside it.

ESLint

Add ESLint for linting. Enabled by default.

Yesdefault
Include ESLint configuration.
No
Skip ESLint.

Tailwind CSS

Add Tailwind CSS for styling. Enabled by default.

Yesdefault
Include Tailwind CSS and its config.
No
Skip Tailwind CSS.

src/ directory

Whether to place your application code inside a src/ directory. Defaults to Yes.

Yesdefault
Use a src/ directory.
No
Keep app/ at the project root.

Import alias

The path alias for imports. Defaults to @/* (so you can write @/components/...).

Package manager

The manager used to install the generated project's dependencies.

npm
Install with npm.
yarn
Install with yarn.
pnpm
Install with pnpm.
bun
Install with bun.

UI library

An optional component library. Defaults to shadcn/ui.

ShadCN UIdefault
Preconfigure shadcn/ui components.
No UI Library
Skip the component library.

Database

The database provider. Defaults to PostgreSQL. See Database for details.

PostgreSQLdefault
Relational database (default).
MongoDB
Document database.
MySQL
Relational database.
SQLite
File-based relational database.
No Database
Skip the database entirely.
Database-dependent prompts
The ORM and Payments prompts only appear when you choose a database. If you pick No Database, the auth choices are limited to Clerk, Kinde, or none (NextAuth requires a database).

ORM

Shown when a database is selected. Defaults to Prisma. See ORM.

Prismadefault
Type-safe ORM with migrations (default).
Drizzle
Lightweight, SQL-first ORM.
No ORM
Use the database without an ORM.

Authentication

The auth provider. With a database the default is NextAuth. See Authentication.

Next Authdefault
Self-hosted auth (requires a database).
Clerk
Managed user-management service.
Kinde
Managed auth and user access.
No Authentication
Skip authentication.

Payments

Shown when a database is selected. See Payments.

No Payment Service
Skip payments.
Stripe
Card payments and subscriptions.
Paypal
PayPal checkout.
Lemon Squeezy
Merchant of record for SaaS.
Razorpay
Payments for India and beyond.

Email

The transactional email provider. Defaults to Resend. See Email.

Resenddefault
Developer-first email API (default).
Mailgun
Email delivery service.
Sendgrid
Email delivery at scale.
Postmark
Fast transactional email.
No Email Package
Skip email.

API layer

How you write your APIs. See API layer.

Hono
Small, fast web framework.
tRPC
End-to-end typesafe APIs.
Rest API
Conventional REST route handlers.
GraphQL
A GraphQL API.
No APIs
Skip the API layer.

Analytics

Optional analytics. See Analytics.

No Analytics
Skip analytics.
Vercel Analytics
Vercel Web Analytics.
Google Analytics
Google Analytics.

Empty project structure

Generate a minimal scaffold without example/boilerplate code. Defaults to No.

Nodefault
Include the standard generated files.
Yes
Generate an empty structure only.

Skip install

Skip running the install step. Defaults to No. If you skip it, install dependencies yourself afterwards.

Nodefault
Install dependencies automatically.
Yes
Generate files only; install later.