From ee79c4c10db16402b5a4109203f18f5f71d9d20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Antonio=20Chio?= Date: Sun, 11 Oct 2020 19:07:00 -0500 Subject: [PATCH] Add docs about the use-npm flag in create next app --- docs/api-reference/create-next-app.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api-reference/create-next-app.md b/docs/api-reference/create-next-app.md index f5dead47ab75b..431f65f94bf8a 100644 --- a/docs/api-reference/create-next-app.md +++ b/docs/api-reference/create-next-app.md @@ -18,6 +18,7 @@ yarn create next-app - **-e, --example [name]|[github-url]** - An example to bootstrap the app with. You can use an example name from the [Next.js repo](https://github.com/vercel/next.js/tree/master/examples) 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` +- **--use-npm** - Explicitly tell the CLI to bootstrap the app using NPM. By default, the CLI will detect if Yarn is installed and use it if it's available. ### Why use Create Next App?