Learn how to create NextJS App using these simple steps.
Prerequisite Install NodeJS: • How To Install Node JS 2024 in Windows
1. Make sure you have Node.js version 18 or above installed (https://nodejs.org/en/download).
2. Open a terminal and run npx create-next-app@latest my-app (replace my-app with your desired project name).
3. This will create a new project directory with all the Next.js files.
4. Navigate to the project directory (cd my-app) and run npm run dev to start the development server.