To start a Next.js project, run the following command:
npx create-next-app@latest my-next-appThen navigate into the project and start the development server:
cd my-next-app && npm run devOpen http://localhost:3000 in your browser to see your Next.js app in action!