Commands.app

next start

Production

Start Next.js production server

Options & Flags
Available options for this command
-p PORT

Specify port (default 3000)

-H HOST

Specify hostname

Examples
Common usage examples

Start production server

next start

Start using package.json script

npm run start

Start on custom port

next start -p 8080
Notes
  • Requires 'next build' first
  • Serves optimized production build
Related Commands
You might also find these useful