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

Autocomplete

Fig spec, with what the manifest adds · 7 options
Published once and never changed; check the digest before caching
sha256
92ad884b0a68c634d55320bf7c980a9150c58d9f2627241f54eb112f7dd5f393
Size
1547 bytes
OptionsOn create-next-app itself
-V--version
Output the version number
--ts--typescript
Initialize as a TypeScript project
--use-npm
Explicitly tell the CLI to bootstrap the app using npm
--use-pnpm
Explicitly tell the CLI to bootstrap the app using pnpm
-e--example
An example to bootstrap the app with. You can use an example name from the official Next.js repo or a GitHub URL. The URL can use any branch and/or subdirectory <name|github-url>
--example-path
In a rare case, your GitHub URL might contain a branch name with a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar). In this case, you must specify the path to the example separately: --example-path foo/bar <path-to-example>
-h--help
Display help for command
ArgumentsPositional, in order
<project-directory>
· folders