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
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/install.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/cli/install.md b/doc/cli/install.md
index c4d9ba649..44885f318 100644
--- a/doc/cli/install.md
+++ b/doc/cli/install.md
@@ -171,6 +171,9 @@ any binaries the package might contain.
The `--no-shrinkwrap` argument, which will ignore an available
shrinkwrap file and use the package.json instead.
+The `--nodedir=/path/to/node/source` argument will allow npm to find the
+node source code so that npm can compile native modules.
+
See `npm-config(1)`. Many of the configuration params have some
effect on installation, since that's most of what npm does.