create-next-app <project-directory>

No description

Arguments

NameDescription
project-directoryfolders

Options

NameDescription
-V, --versionOutput the version number
--ts, --typescriptInitialize as a TypeScript project
--use-npmExplicitly tell the CLI to bootstrap the app using npm
--use-pnpmExplicitly tell the CLI to bootstrap the app using pnpm
-e, --example <name|github-url>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
--example-path <path-to-example>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
-h, --helpDisplay help for command