← Back|
0/19 done
🚀

Step 1 of 19

Create the project

Get your app running in under 2 minutes

Open your terminal and run this command. It sets up a complete Next.js project, all the files, tools, and configuration you need.

npx create-next-app@latest my-app
Replace my-app with whatever you want your project folder to be called, e.g. npx create-next-app@latest message-board.

It will ask you one question, just hit Enter to accept the recommended defaults:

✔ Would you like to use the recommended Next.js defaults? › Yes, use recommended defaults

Then navigate into your new project and start the development server:

cd my-app   # use whatever name you gave your project
npm run dev
💡Open http://localhost:3000 in your browser. Leave the terminal running, every time you save a file, the browser updates automatically. This is called hot reload.