diff options
-rw-r--r-- | doc/cli/npm-prefix.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/cli/npm-prefix.md b/doc/cli/npm-prefix.md index f262a36a7..d36e53813 100644 --- a/doc/cli/npm-prefix.md +++ b/doc/cli/npm-prefix.md @@ -8,7 +8,8 @@ npm-prefix(1) -- Display prefix ## DESCRIPTION Print the local prefix to standard out. This is the closest parent directory -to contain a package.json file unless `-g` is also specified. +to contain a `package.json` file or `node_modules` directory, unless `-g` is +also specified. If `-g` is specified, this will be the value of the global prefix. See `npm-config(7)` for more detail. |