All apps/Next.js

Next.js

next

React framework CLI to develop, build and start applications.

Runs as next|macOS, Linux, Windows|nextjs.org

Command form

ai-draft · 3 tasks · 9 fields

Start the dev server, build for production, or start the production server.

Opens the form; the finished command lands at your prompt, unrun
otty gui next

next dev

Start dev server

Run the application in development mode.

Start dev serverExample values, fixed in this page — nothing here reaches a terminal
Basic
Project directory
directory
Port
integer
Hostname
string
TasksEach one presets the form for one job
Dev server
dirporthostname
ParametersOnly these flags are editable in the form
Project directory
path · positional 0
Port
integer
--port-p
Hostname
string
--hostname-H

next build

Production build

Create an optimized production build.

Production buildExample values, fixed in this page — nothing here reaches a terminal
Basic
Project directory
directory
Enable production profiling
--profile
Verbose build output
--debug
TasksEach one presets the form for one job
Build
dirprofiledebug
ParametersOnly these flags are editable in the form
Project directory
path · positional 0
Enable production profiling
boolean
--profile
Verbose build output
boolean
--debug

next start

Start production server

Run the built application in production mode.

Start production serverExample values, fixed in this page — nothing here reaches a terminal
Basic
Project directory
directory
Port
integer
Hostname
string
TasksEach one presets the form for one job
Production server
dirporthostname
ParametersOnly these flags are editable in the form
Project directory
path · positional 0
Port
integer
--port-p
Hostname
string
--hostname-H
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed next against its version. A form that does not match your version is not offered.