Robin te Hofstee

Create NextJS app

Robin te Hofstee1 min readViews3
Create NextJS app

How to Create a Next.js App

The easiest way to create a new Next.js application is by using the create-next-app CLI tool. Follow these steps:

  • First, install the create-next-app package globally (if you haven’t already):
npm install -g create-next-app
  • Initialize a new Next.js application by calling the tool and supplying a name for your project:
npx create-next-app my-next-app

Replace my-next-app with your desired project name. This command will set up a new Next.js project with everything configured for you.

  • Run your app in development mode:
npm run dev

Your Next.js app will be accessible at http://localhost:3000.

Share this post
Robin te Hofstee

Written by Robin te Hofstee

Technology enthusiast with a deep love for programming. Sharing practical guides on React, Next.js, Linux and self-hosting.