Creating Next.js app

Step 1

To create a Next.js app, open your terminal, cd into the directory you’d like to create the app in, and run the following command:

npx create-next-app next-app

Good Job 🥳 You have successfully created your next-app

Step 2

Type the following command and go to the app folder:

cd next-app

Step 3

Now run the command to open the app in VS Code

code .

After this, your vs code IDE should open with your next-app.

3

1