From 6ef60235f10a4caeac2038844fe9e1489d9aaf7d Mon Sep 17 00:00:00 2001 From: Matt McClure Date: Tue, 28 May 2013 16:59:44 -0400 Subject: doc: Mention --nodedir in npm install documentation --- doc/cli/install.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3