The easiest way to start a brand-new Next.js project is with the official CLI tool create-next-app. Make sure you have Node.js (v18.18 or newer) installed first.
When you run the command below, Next.js will ask a few quick setup questions—whether you want TypeScript, Tailwind CSS, ESLint, and the App Router (always choose Yes for App Router on new projects).