First create a next project called

npx create-next-app nextroute

then, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.