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:
authorkierendixon <knitesoulja@hotmail.com>2017-06-22 02:29:47 +0300
committerRebecca Turner <me@re-becca.org>2017-06-27 02:49:07 +0300
commitf8e76d8566ae1965e57d348df74edad0643b66a6 (patch)
tree9fa17e2e0478da79e3e3af639a90a3077abeffa0 /doc
parent0711c08f779ac641ec42ecc96f604c8861008b28 (diff)
docs: Correct Windows prefix path in npm-folders docs.
Correct the default prefix config path for Windows operating systems Credit: @kierendixon Reviewed-By: @iarna PR-URL: https://github.com/npm/npm/pull/17370
Diffstat (limited to 'doc')
-rw-r--r--doc/files/npm-folders.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/files/npm-folders.md b/doc/files/npm-folders.md
index 62ecebc27..74c788344 100644
--- a/doc/files/npm-folders.md
+++ b/doc/files/npm-folders.md
@@ -20,10 +20,9 @@ This document will tell you what it puts where.
### prefix Configuration
The `prefix` config defaults to the location where node is installed.
-On most systems, this is `/usr/local`. On windows, this is the exact
-location of the node.exe binary. On Unix systems, it's one level up,
-since node is typically installed at `{prefix}/bin/node` rather than
-`{prefix}/node.exe`.
+On most systems, this is `/usr/local`. On Windows, it's `%AppData%\npm`.
+On Unix systems, it's one level up, since node is typically installed at
+`{prefix}/bin/node` rather than `{prefix}/node.exe`.
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