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:
authorisaacs <i@izs.me>2011-07-15 21:33:50 +0400
committerisaacs <i@izs.me>2011-07-15 21:33:50 +0400
commitf306f8a39a20a202756cd75d4a14b5e4d37f48ab (patch)
treef08eacf8599b7d439439578edefef8497007bc33 /doc
parente67b796a898041ea3b5221d80bbd7a7e1fcc43d3 (diff)
Close #1152 Document prefix default better
Diffstat (limited to 'doc')
-rw-r--r--doc/folders.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/folders.md b/doc/folders.md
index 9d1835eb7..7c1327a00 100644
--- a/doc/folders.md
+++ b/doc/folders.md
@@ -17,8 +17,9 @@ This document will tell you what it puts where.
### prefix Configuration
-The `prefix` config defaults to node's `process.installPrefix`. On most
-systems, this is `/usr/local`.
+The `prefix` config defaults to the location where node is installed.
+On most systems, this is `/usr/local`, and most of the time is the same
+as node's `process.installPrefix`.
When the `global` flag is set, npm installs things into this prefix.
When it is not set, it uses the root of the current package, or the