Install Next.js

Install Next.js with Create Next App

Create a new project

npx create-next-app@latest

Start the app

cd my-app npm run dev