Next.js 16 · Command line

Build for production

Create an optimized production build and print the route table.

npm run build

Official Next.js 16 documentation

More command line commands

All command line commands · Next.js 16 cheatsheet

Was this page helpful?