Create new Next.js app in Next.js
From the Next.js cheat sheet · Project Setup & Structure · verified Jul 2026
Create new Next.js app
bash
# Create new Next.js app
npx create-next-app@latest my-app
# With all recommended options
npx create-next-app@latest my-app --typescript --tailwind --app --src-dir
# With package manager choice
npx create-next-app@latest my-app --use-npm
npx create-next-app@latest my-app --use-yarn
npx create-next-app@latest my-app --use-pnpm
npx create-next-app@latest my-app --use-bun💡 Use --typescript flag for TypeScript support
⚡ --tailwind adds Tailwind CSS automatically
📌 App Router + Turbopack are the defaults in 16
🟢 --src-dir creates a src/ directory