commands.sh

next

all

React framework that uses server-side rendering for building optimized web applications.

More info →

Options (2)

-p, --portboolean

Start the current application and listen on a specific port

Example: next dev {{[-p|--port]}} {{port}}
-h, --helpboolean

Display help for a subcommand

Example: next {{build|dev|export|start|telemetry}} {{[-h|--help]}}

Examples (8)

Start the current application in development mode

next dev

Start the current application and listen on a specific port

next dev [-p|--port] port

Build the current application optimized for production

next build

Start the compiled application in production mode

next start

Start the compiled application and listen on a specific port

next start [-p|--port] port

Export the current application to static HTML pages

Display the Next.js telemetry status

next telemetry

Display help for a subcommand

next build|dev|export|start|telemetry [-h|--help]
made by @shridhargupta | data from tldr-pages