next dev
DevelopmentStart Next.js development server
Options & Flags
Available options for this command
-p PORTSpecify port (default 3000)
-H HOSTSpecify hostname
--turboStart with Turbopack (experimental)
Examples
Common usage examples
Start development server on port 3000
next devStart dev server (package.json script)
npm run devStart on custom port
next dev -p 3001Start with Turbopack
next dev --turboRelated Commands
You might also find these useful