CopyCommandCopyCommand
Default

npx next dev -p 4000

Summary

Starts Next.js on a different port.

Command

Windows PowerShell

Run in PowerShellWindows PowerShell
npx next dev -p 4000

Related commands