All apps/create-next-app

create-next-app

create-next-app

Create Next.js-powered React apps with one command.

Runs as create-next-app|macOS, Linux, Windows|nextjs.org

Command form

ai-draft · 2 tasks · 5 fields

Scaffold a new Next.js project. Only the flags present in the Fig completion data are offered.

Opens the form; the finished command lands at your prompt, unrun
otty gui create-next-app
Create a Next.js appExample values, fixed in this page — nothing here reaches a terminal
Basic
Project directory*
directory
TypeScript
--typescript
Package manager
Use npm
--use-npm
Use pnpm
--use-pnpm
TasksEach one presets the form for one job
New TypeScript app
dirtypescriptuse_npmuse_pnpm
From an example
direxampleuse_npmuse_pnpm
ParametersOnly these flags are editable in the form
Project directory
path · positional 0
TypeScript
Initialize as a TypeScript project.
boolean
--typescript--ts
Use npm
boolean
--use-npm
Use pnpm
boolean
--use-pnpm
Example
An example name from the official Next.js repo or a GitHub URL.
string
--example-e
SourcesEvery flag above is checked against these
fig
completion

github.com

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