@@ -22,10 +22,10 @@ This document will tell you what it puts where.
22
22
23
23
#### prefix Configuration
24
24
25
- The ` prefix ` config defaults to the location where node is installed.
26
- On most systems, this is ` /usr/local ` . On Windows, it's ` %AppData%\npm ` .
27
- On Unix systems, it's one level up, since node is typically installed at
28
- ` {prefix}/bin/node ` rather than ` {prefix}/node.exe ` .
25
+ The [ ` prefix ` config] ( /using-npm/config#prefix ) defaults to the location where
26
+ node is installed. On most systems, this is ` /usr/local ` . On Windows, it's
27
+ ` %AppData%\npm ` . On Unix systems, it's one level up, since node is typically
28
+ installed at ` {prefix}/bin/node ` rather than ` {prefix}/node.exe ` .
29
29
30
30
When the ` global ` flag is set, npm installs things into this prefix.
31
31
When it is not set, it uses the root of the current package, or the
@@ -74,13 +74,13 @@ Man pages are not installed on Windows systems.
74
74
See [ ` npm cache ` ] ( /commands/npm-cache ) . Cache files are stored in ` ~/.npm ` on Posix, or
75
75
` %AppData%/npm-cache ` on Windows.
76
76
77
- This is controlled by the ` cache ` configuration param.
77
+ This is controlled by the [ ` cache ` config ] ( /using-npm/config#cache ) param.
78
78
79
79
#### Temp Files
80
80
81
81
Temporary files are stored by default in the folder specified by the
82
- ` tmp ` config, which defaults to the TMPDIR, TMP, or TEMP environment
83
- variables, or ` /tmp ` on Unix and ` c:\windows\temp ` on Windows.
82
+ [ ` tmp ` config] ( /using-npm/config#tmp ) , which defaults to the TMPDIR, TMP, or
83
+ TEMP environment variables, or ` /tmp ` on Unix and ` c:\windows\temp ` on Windows.
84
84
85
85
Temp files are given a unique folder under this root for each run of the
86
86
program, and are deleted upon successful exit.
@@ -111,7 +111,7 @@ be found by npm scripts when necessary.
111
111
112
112
#### Global Installation
113
113
114
- If the ` global ` configuration is set to true, then npm will
114
+ If the [ ` global ` config ] ( /using-npm/config#global ) is set to true, then npm will
115
115
install packages "globally".
116
116
117
117
For global installation, packages are installed roughly the same way,
0 commit comments