CopyCommand
<- Back to Default
Default
npx next build
Summary
Creates a production build of the app.
Beginner Mode OFF
Command
Windows PowerShell
Copy
Run in PowerShell
Windows PowerShell
npx next build
Previous
npx next dev -p 4000
Next
npx next start
Related commands
npx next start
Starts the production server after a build.
npm run build
Runs the build script from package.json.
npx next dev
Starts the Next.js dev server with hot reload.