Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/commands/npm-init.md')
-rw-r--r--docs/content/commands/npm-init.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/docs/content/commands/npm-init.md b/docs/content/commands/npm-init.md
index e9212a37e..d9c03aef4 100644
--- a/docs/content/commands/npm-init.md
+++ b/docs/content/commands/npm-init.md
@@ -6,13 +6,23 @@ description: Create a package.json file
### Synopsis
+<!-- AUTOGENERATED USAGE DESCRIPTIONS START -->
+<!-- automatically generated, do not edit manually -->
+<!-- see lib/commands/init.js -->
+
```bash
-npm init [--yes|-y|--scope]
-npm init <@scope> (same as `npm exec <@scope>/create`)
-npm init [<@scope>/]<name> (same as `npm exec [<@scope>/]create-<name>`)
-npm init [-w <dir>] [args...]
+npm init [--force|-f|--yes|-y|--scope]
+npm init <@scope> (same as `npx <@scope>/create`)
+npm init [<@scope>/]<name> (same as `npx [<@scope>/]create-<name>`)
+
+aliases: create, innit
```
+<!-- automatically generated, do not edit manually -->
+<!-- see lib/commands/init.js -->
+
+<!-- AUTOGENERATED USAGE DESCRIPTIONS END -->
+
### Description
`npm init <initializer>` can be used to set up a new or existing npm