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-config.md')
-rw-r--r--docs/content/commands/npm-config.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/content/commands/npm-config.md b/docs/content/commands/npm-config.md
index f2868cb89..ac79e85c1 100644
--- a/docs/content/commands/npm-config.md
+++ b/docs/content/commands/npm-config.md
@@ -128,6 +128,14 @@ folder instead of the current working directory. See
The command to run for `npm edit` and `npm config edit`.
+#### `location`
+
+* Default: "user" unless `--global` is passed, which will also set this value
+ to "global"
+* Type: "global", "user", or "project"
+
+When passed to `npm config` this refers to which config file to use.
+
#### `long`
* Default: false