link

Next.js

Next.js commands for managing pages, routing, and server-side rendering

5 commands

Commands

5 commands available
Resources

Offical Next.js Documentation

Official documentation for Next.js

nextjs

Create Next.js App

Create a new Next.js project using create-next-app

npx create-next-app@latest
create
scaffold
project
nextjs

Run Dev Server

Run the Next.js development server

npm run dev
development
run
nextjs

Build Next.js App

Build the app for production

npm run build
build
production
nextjs

Start Production Server

Run the built Next.js app in production mode

npm run start
start
production
nextjs

Lint Code

Run ESLint on your Next.js project

npm run lint
lint
eslint