Install Next.js
Install Next.js with Create Next App
Create a new project
1npx create-next-app@latest my-app
On installation, you'll see the following prompts
1What is your project named? my-app2Would you like to use TypeScript? Yes3Would you like to use ESLint? Yes4Would you like to use Tailwind CSS? Yes5Would you like your code inside a src/ directory? Yes6Would you like to use App Router? Yes7Would you like to customize the import alias? Yes (@/*)
Start the app
1cd my-app2npm run dev