create-next-app <project-directory>
No description
Arguments
Name | Description |
---|---|
project-directory | folders |
Options
Name | Description |
---|---|
-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 <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, --help | Display help for command |