]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man7/npm-config.7
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man7 / npm-config.7
1 .TH "NPM\-CONFIG" "7" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-config\fR \- More than you probably want to know about npm configuration
4 .SH DESCRIPTION
5 .P
6 npm gets its configuration values from the following sources, sorted by priority:
7 .SS Command Line Flags
8 .P
9 Putting \fB\-\-foo bar\fP on the command line sets the \fBfoo\fP configuration
10 parameter to \fB"bar"\fP\|\.  A \fB\-\-\fP argument tells the cli parser to stop
11 reading flags\.  A \fB\-\-flag\fP parameter that is at the \fIend\fR of the
12 command will be given the value of \fBtrue\fP\|\.
13 .SS Environment Variables
14 .P
15 Any environment variables that start with \fBnpm_config_\fP will be
16 interpreted as a configuration parameter\.  For example, putting
17 \fBnpm_config_foo=bar\fP in your environment will set the \fBfoo\fP
18 configuration parameter to \fBbar\fP\|\.  Any environment configurations that
19 are not given a value will be given the value of \fBtrue\fP\|\.  Config
20 values are case\-insensitive, so \fBNPM_CONFIG_FOO=bar\fP will work the
21 same\.
22 .SS npmrc Files
23 .P
24 The four relevant files are:
25 .RS 0
26 .IP \(bu 2
27 per\-project configuration file (\fB/path/to/my/project/\.npmrc\fP)
28 .IP \(bu 2
29 per\-user configuration file (defaults to \fB$HOME/\.npmrc\fP; configurable via CLI
30 option \fB\-\-userconfig\fP or environment variable \fB$NPM_CONF_USERCONFIG\fP)
31 .IP \(bu 2
32 global configuration file (defaults to \fB$PREFIX/etc/npmrc\fP; configurable via
33 CLI option \fB\-\-globalconfig\fP or environment variable \fB$NPM_CONF_GLOBALCONFIG\fP)
34 .IP \(bu 2
35 npm's built\-in configuration file (\fB/path/to/npm/npmrc\fP)
36
37 .RE
38 .P
39 See npm help 5 npmrc for more details\.
40 .SS Default Configs
41 .P
42 A set of configuration parameters that are internal to npm, and are
43 defaults if nothing else is specified\.
44 .SH Shorthands and Other CLI Niceties
45 .P
46 The following shorthands are parsed on the command\-line:
47 .RS 0
48 .IP \(bu 2
49 \fB\-v\fP: \fB\-\-version\fP
50 .IP \(bu 2
51 \fB\-h\fP, \fB\-?\fP, \fB\-\-help\fP, \fB\-H\fP: \fB\-\-usage\fP
52 .IP \(bu 2
53 \fB\-s\fP, \fB\-\-silent\fP: \fB\-\-loglevel silent\fP
54 .IP \(bu 2
55 \fB\-q\fP, \fB\-\-quiet\fP: \fB\-\-loglevel warn\fP
56 .IP \(bu 2
57 \fB\-d\fP: \fB\-\-loglevel info\fP
58 .IP \(bu 2
59 \fB\-dd\fP, \fB\-\-verbose\fP: \fB\-\-loglevel verbose\fP
60 .IP \(bu 2
61 \fB\-ddd\fP: \fB\-\-loglevel silly\fP
62 .IP \(bu 2
63 \fB\-g\fP: \fB\-\-global\fP
64 .IP \(bu 2
65 \fB\-C\fP: \fB\-\-prefix\fP
66 .IP \(bu 2
67 \fB\-l\fP: \fB\-\-long\fP
68 .IP \(bu 2
69 \fB\-m\fP: \fB\-\-message\fP
70 .IP \(bu 2
71 \fB\-p\fP, \fB\-\-porcelain\fP: \fB\-\-parseable\fP
72 .IP \(bu 2
73 \fB\-reg\fP: \fB\-\-registry\fP
74 .IP \(bu 2
75 \fB\-f\fP: \fB\-\-force\fP
76 .IP \(bu 2
77 \fB\-desc\fP: \fB\-\-description\fP
78 .IP \(bu 2
79 \fB\-S\fP: \fB\-\-save\fP
80 .IP \(bu 2
81 \fB\-D\fP: \fB\-\-save\-dev\fP
82 .IP \(bu 2
83 \fB\-O\fP: \fB\-\-save\-optional\fP
84 .IP \(bu 2
85 \fB\-B\fP: \fB\-\-save\-bundle\fP
86 .IP \(bu 2
87 \fB\-E\fP: \fB\-\-save\-exact\fP
88 .IP \(bu 2
89 \fB\-y\fP: \fB\-\-yes\fP
90 .IP \(bu 2
91 \fB\-n\fP: \fB\-\-yes false\fP
92 .IP \(bu 2
93 \fBll\fP and \fBla\fP commands: \fBls \-\-long\fP
94
95 .RE
96 .P
97 If the specified configuration param resolves unambiguously to a known
98 configuration parameter, then it is expanded to that configuration
99 parameter\.  For example:
100 .P
101 .RS 2
102 .nf
103 npm ls \-\-par
104 # same as:
105 npm ls \-\-parseable
106 .fi
107 .RE
108 .P
109 If multiple single\-character shorthands are strung together, and the
110 resulting combination is unambiguously not some other configuration
111 param, then it is expanded to its various component pieces\.  For
112 example:
113 .P
114 .RS 2
115 .nf
116 npm ls \-gpld
117 # same as:
118 npm ls \-\-global \-\-parseable \-\-long \-\-loglevel info
119 .fi
120 .RE
121 .SH Per\-Package Config Settings
122 .P
123 When running scripts (see npm help 7 \fBnpm\-scripts\fP) the package\.json "config"
124 keys are overwritten in the environment if there is a config param of
125 \fB<name>[@<version>]:<key>\fP\|\.  For example, if the package\.json has
126 this:
127 .P
128 .RS 2
129 .nf
130 { "name" : "foo"
131 , "config" : { "port" : "8080" }
132 , "scripts" : { "start" : "node server\.js" } }
133 .fi
134 .RE
135 .P
136 and the server\.js is this:
137 .P
138 .RS 2
139 .nf
140 http\.createServer(\.\.\.)\.listen(process\.env\.npm_package_config_port)
141 .fi
142 .RE
143 .P
144 then the user could change the behavior by doing:
145 .P
146 .RS 2
147 .nf
148 npm config set foo:port 80
149 .fi
150 .RE
151 .P
152 See npm help 5 package\.json for more information\.
153 .SH Config Settings
154 .SS access
155 .RS 0
156 .IP \(bu 2
157 Default: \fBrestricted\fP
158 .IP \(bu 2
159 Type: Access
160
161 .RE
162 .P
163 When publishing scoped packages, the access level defaults to \fBrestricted\fP\|\.  If
164 you want your scoped package to be publicly viewable (and installable) set
165 \fB\-\-access=public\fP\|\. The only valid values for \fBaccess\fP are \fBpublic\fP and
166 \fBrestricted\fP\|\. Unscoped packages \fIalways\fR have an access level of \fBpublic\fP\|\.
167 .SS always\-auth
168 .RS 0
169 .IP \(bu 2
170 Default: false
171 .IP \(bu 2
172 Type: Boolean
173
174 .RE
175 .P
176 Force npm to always require authentication when accessing the registry,
177 even for \fBGET\fP requests\.
178 .SS bin\-links
179 .RS 0
180 .IP \(bu 2
181 Default: \fBtrue\fP
182 .IP \(bu 2
183 Type: Boolean
184
185 .RE
186 .P
187 Tells npm to create symlinks (or \fB\|\.cmd\fP shims on Windows) for package
188 executables\.
189 .P
190 Set to false to have it not do this\.  This can be used to work around
191 the fact that some file systems don't support symlinks, even on
192 ostensibly Unix systems\.
193 .SS browser
194 .RS 0
195 .IP \(bu 2
196 Default: OS X: \fB"open"\fP, Windows: \fB"start"\fP, Others: \fB"xdg\-open"\fP
197 .IP \(bu 2
198 Type: String
199
200 .RE
201 .P
202 The browser that is called by the \fBnpm docs\fP command to open websites\.
203 .SS ca
204 .RS 0
205 .IP \(bu 2
206 Default: The npm CA certificate
207 .IP \(bu 2
208 Type: String, Array or null
209
210 .RE
211 .P
212 The Certificate Authority signing certificate that is trusted for SSL
213 connections to the registry\. Values should be in PEM format with newlines
214 replaced by the string "\\n"\. For example:
215 .P
216 .RS 2
217 .nf
218 ca="\-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\-\\nXXXX\\nXXXX\\n\-\-\-\-\-END CERTIFICATE\-\-\-\-\-"
219 .fi
220 .RE
221 .P
222 Set to \fBnull\fP to only allow "known" registrars, or to a specific CA cert
223 to trust only that specific signing authority\.
224 .P
225 Multiple CAs can be trusted by specifying an array of certificates:
226 .P
227 .RS 2
228 .nf
229 ca[]="\.\.\."
230 ca[]="\.\.\."
231 .fi
232 .RE
233 .P
234 See also the \fBstrict\-ssl\fP config\.
235 .SS cafile
236 .RS 0
237 .IP \(bu 2
238 Default: \fBnull\fP
239 .IP \(bu 2
240 Type: path
241
242 .RE
243 .P
244 A path to a file containing one or multiple Certificate Authority signing
245 certificates\. Similar to the \fBca\fP setting, but allows for multiple CA's, as
246 well as for the CA information to be stored in a file on disk\.
247 .SS cache
248 .RS 0
249 .IP \(bu 2
250 Default: Windows: \fB%AppData%\\npm\-cache\fP, Posix: \fB~/\.npm\fP
251 .IP \(bu 2
252 Type: path
253
254 .RE
255 .P
256 The location of npm's cache directory\.  See npm help \fBnpm\-cache\fP
257 .SS cache\-lock\-stale
258 .RS 0
259 .IP \(bu 2
260 Default: 60000 (1 minute)
261 .IP \(bu 2
262 Type: Number
263
264 .RE
265 .P
266 The number of ms before cache folder lockfiles are considered stale\.
267 .SS cache\-lock\-retries
268 .RS 0
269 .IP \(bu 2
270 Default: 10
271 .IP \(bu 2
272 Type: Number
273
274 .RE
275 .P
276 Number of times to retry to acquire a lock on cache folder lockfiles\.
277 .SS cache\-lock\-wait
278 .RS 0
279 .IP \(bu 2
280 Default: 10000 (10 seconds)
281 .IP \(bu 2
282 Type: Number
283
284 .RE
285 .P
286 Number of ms to wait for cache lock files to expire\.
287 .SS cache\-max
288 .RS 0
289 .IP \(bu 2
290 Default: Infinity
291 .IP \(bu 2
292 Type: Number
293
294 .RE
295 .P
296 The maximum time (in seconds) to keep items in the registry cache before
297 re\-checking against the registry\.
298 .P
299 Note that no purging is done unless the \fBnpm cache clean\fP command is
300 explicitly used, and that only GET requests use the cache\.
301 .SS cache\-min
302 .RS 0
303 .IP \(bu 2
304 Default: 10
305 .IP \(bu 2
306 Type: Number
307
308 .RE
309 .P
310 The minimum time (in seconds) to keep items in the registry cache before
311 re\-checking against the registry\.
312 .P
313 Note that no purging is done unless the \fBnpm cache clean\fP command is
314 explicitly used, and that only GET requests use the cache\.
315 .SS cert
316 .RS 0
317 .IP \(bu 2
318 Default: \fBnull\fP
319 .IP \(bu 2
320 Type: String
321
322 .RE
323 .P
324 A client certificate to pass when accessing the registry\.  Values should be in
325 PEM format with newlines replaced by the string "\\n"\. For example:
326 .P
327 .RS 2
328 .nf
329 cert="\-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\-\\nXXXX\\nXXXX\\n\-\-\-\-\-END CERTIFICATE\-\-\-\-\-"
330 .fi
331 .RE
332 .P
333 It is \fInot\fR the path to a certificate file (and there is no "certfile" option)\.
334 .SS color
335 .RS 0
336 .IP \(bu 2
337 Default: true
338 .IP \(bu 2
339 Type: Boolean or \fB"always"\fP
340
341 .RE
342 .P
343 If false, never shows colors\.  If \fB"always"\fP then always shows colors\.
344 If true, then only prints color codes for tty file descriptors\.
345 .SS depth
346 .RS 0
347 .IP \(bu 2
348 Default: Infinity
349 .IP \(bu 2
350 Type: Number
351
352 .RE
353 .P
354 The depth to go when recursing directories for \fBnpm ls\fP,
355 \fBnpm cache ls\fP, and \fBnpm outdated\fP\|\.
356 .P
357 For \fBnpm outdated\fP, a setting of \fBInfinity\fP will be treated as \fB0\fP
358 since that gives more useful information\.  To show the outdated status
359 of all packages and dependents, use a large integer value,
360 e\.g\., \fBnpm outdated \-\-depth 9999\fP
361 .SS description
362 .RS 0
363 .IP \(bu 2
364 Default: true
365 .IP \(bu 2
366 Type: Boolean
367
368 .RE
369 .P
370 Show the description in \fBnpm search\fP
371 .SS dev
372 .RS 0
373 .IP \(bu 2
374 Default: false
375 .IP \(bu 2
376 Type: Boolean
377
378 .RE
379 .P
380 Install \fBdev\-dependencies\fP along with packages\.
381 .P
382 Note that \fBdev\-dependencies\fP are also installed if the \fBnpat\fP flag is
383 set\.
384 .SS editor
385 .RS 0
386 .IP \(bu 2
387 Default: \fBEDITOR\fP environment variable if set, or \fB"vi"\fP on Posix,
388 or \fB"notepad"\fP on Windows\.
389 .IP \(bu 2
390 Type: path
391
392 .RE
393 .P
394 The command to run for \fBnpm edit\fP or \fBnpm config edit\fP\|\.
395 .SS engine\-strict
396 .RS 0
397 .IP \(bu 2
398 Default: false
399 .IP \(bu 2
400 Type: Boolean
401
402 .RE
403 .P
404 If set to true, then npm will stubbornly refuse to install (or even
405 consider installing) any package that claims to not be compatible with
406 the current Node\.js version\.
407 .SS force
408 .RS 0
409 .IP \(bu 2
410 Default: false
411 .IP \(bu 2
412 Type: Boolean
413
414 .RE
415 .P
416 Makes various commands more forceful\.
417 .RS 0
418 .IP \(bu 2
419 lifecycle script failure does not block progress\.
420 .IP \(bu 2
421 publishing clobbers previously published versions\.
422 .IP \(bu 2
423 skips cache when requesting from the registry\.
424 .IP \(bu 2
425 prevents checks against clobbering non\-npm files\.
426
427 .RE
428 .SS fetch\-retries
429 .RS 0
430 .IP \(bu 2
431 Default: 2
432 .IP \(bu 2
433 Type: Number
434
435 .RE
436 .P
437 The "retries" config for the \fBretry\fP module to use when fetching
438 packages from the registry\.
439 .SS fetch\-retry\-factor
440 .RS 0
441 .IP \(bu 2
442 Default: 10
443 .IP \(bu 2
444 Type: Number
445
446 .RE
447 .P
448 The "factor" config for the \fBretry\fP module to use when fetching
449 packages\.
450 .SS fetch\-retry\-mintimeout
451 .RS 0
452 .IP \(bu 2
453 Default: 10000 (10 seconds)
454 .IP \(bu 2
455 Type: Number
456
457 .RE
458 .P
459 The "minTimeout" config for the \fBretry\fP module to use when fetching
460 packages\.
461 .SS fetch\-retry\-maxtimeout
462 .RS 0
463 .IP \(bu 2
464 Default: 60000 (1 minute)
465 .IP \(bu 2
466 Type: Number
467
468 .RE
469 .P
470 The "maxTimeout" config for the \fBretry\fP module to use when fetching
471 packages\.
472 .SS git
473 .RS 0
474 .IP \(bu 2
475 Default: \fB"git"\fP
476 .IP \(bu 2
477 Type: String
478
479 .RE
480 .P
481 The command to use for git commands\.  If git is installed on the
482 computer, but is not in the \fBPATH\fP, then set this to the full path to
483 the git binary\.
484 .SS git\-tag\-version
485 .RS 0
486 .IP \(bu 2
487 Default: \fBtrue\fP
488 .IP \(bu 2
489 Type: Boolean
490
491 .RE
492 .P
493 Tag the commit when using the \fBnpm version\fP command\.
494 .SS global
495 .RS 0
496 .IP \(bu 2
497 Default: false
498 .IP \(bu 2
499 Type: Boolean
500
501 .RE
502 .P
503 Operates in "global" mode, so that packages are installed into the
504 \fBprefix\fP folder instead of the current working directory\.  See
505 npm help 5 \fBnpm\-folders\fP for more on the differences in behavior\.
506 .RS 0
507 .IP \(bu 2
508 packages are installed into the \fB{prefix}/lib/node_modules\fP folder, instead of the
509 current working directory\.
510 .IP \(bu 2
511 bin files are linked to \fB{prefix}/bin\fP
512 .IP \(bu 2
513 man pages are linked to \fB{prefix}/share/man\fP
514
515 .RE
516 .SS globalconfig
517 .RS 0
518 .IP \(bu 2
519 Default: {prefix}/etc/npmrc
520 .IP \(bu 2
521 Type: path
522
523 .RE
524 .P
525 The config file to read for global config options\.
526 .SS group
527 .RS 0
528 .IP \(bu 2
529 Default: GID of the current process
530 .IP \(bu 2
531 Type: String or Number
532
533 .RE
534 .P
535 The group to use when running package scripts in global mode as the root
536 user\.
537 .SS heading
538 .RS 0
539 .IP \(bu 2
540 Default: \fB"npm"\fP
541 .IP \(bu 2
542 Type: String
543
544 .RE
545 .P
546 The string that starts all the debugging log output\.
547 .SS https\-proxy
548 .RS 0
549 .IP \(bu 2
550 Default: null
551 .IP \(bu 2
552 Type: url
553
554 .RE
555 .P
556 A proxy to use for outgoing https requests\. If the \fBHTTPS_PROXY\fP or
557 \fBhttps_proxy\fP or \fBHTTP_PROXY\fP or \fBhttp_proxy\fP environment variables are set,
558 proxy settings will be honored by the underlying \fBrequest\fP library\.
559 .SS if\-present
560 .RS 0
561 .IP \(bu 2
562 Default: false
563 .IP \(bu 2
564 Type: Boolean
565
566 .RE
567 .P
568 If true, npm will not exit with an error code when \fBrun\-script\fP is invoked for
569 a script that isn't defined in the \fBscripts\fP section of \fBpackage\.json\fP\|\. This
570 option can be used when it's desirable to optionally run a script when it's
571 present and fail if the script fails\. This is useful, for example, when running
572 scripts that may only apply for some builds in an otherwise generic CI setup\.
573 .SS ignore\-scripts
574 .RS 0
575 .IP \(bu 2
576 Default: false
577 .IP \(bu 2
578 Type: Boolean
579
580 .RE
581 .P
582 If true, npm does not run scripts specified in package\.json files\.
583 .SS init\-module
584 .RS 0
585 .IP \(bu 2
586 Default: ~/\.npm\-init\.js
587 .IP \(bu 2
588 Type: path
589
590 .RE
591 .P
592 A module that will be loaded by the \fBnpm init\fP command\.  See the
593 documentation for the
594 init\-package\-json \fIhttps://github\.com/isaacs/init\-package\-json\fR module
595 for more information, or npm help init\.
596 .SS init\-author\-name
597 .RS 0
598 .IP \(bu 2
599 Default: ""
600 .IP \(bu 2
601 Type: String
602
603 .RE
604 .P
605 The value \fBnpm init\fP should use by default for the package author's name\.
606 .SS init\-author\-email
607 .RS 0
608 .IP \(bu 2
609 Default: ""
610 .IP \(bu 2
611 Type: String
612
613 .RE
614 .P
615 The value \fBnpm init\fP should use by default for the package author's email\.
616 .SS init\-author\-url
617 .RS 0
618 .IP \(bu 2
619 Default: ""
620 .IP \(bu 2
621 Type: String
622
623 .RE
624 .P
625 The value \fBnpm init\fP should use by default for the package author's homepage\.
626 .SS init\-license
627 .RS 0
628 .IP \(bu 2
629 Default: "ISC"
630 .IP \(bu 2
631 Type: String
632
633 .RE
634 .P
635 The value \fBnpm init\fP should use by default for the package license\.
636 .SS init\-version
637 .RS 0
638 .IP \(bu 2
639 Default: "1\.0\.0"
640 .IP \(bu 2
641 Type: semver
642
643 .RE
644 .P
645 The value that \fBnpm init\fP should use by default for the package
646 version number, if not already set in package\.json\.
647 .SS json
648 .RS 0
649 .IP \(bu 2
650 Default: false
651 .IP \(bu 2
652 Type: Boolean
653
654 .RE
655 .P
656 Whether or not to output JSON data, rather than the normal output\.
657 .P
658 This feature is currently experimental, and the output data structures
659 for many commands is either not implemented in JSON yet, or subject to
660 change\.  Only the output from \fBnpm ls \-\-json\fP is currently valid\.
661 .SS key
662 .RS 0
663 .IP \(bu 2
664 Default: \fBnull\fP
665 .IP \(bu 2
666 Type: String
667
668 .RE
669 .P
670 A client key to pass when accessing the registry\.  Values should be in PEM
671 format with newlines replaced by the string "\\n"\. For example:
672 .P
673 .RS 2
674 .nf
675 key="\-\-\-\-\-BEGIN PRIVATE KEY\-\-\-\-\-\\nXXXX\\nXXXX\\n\-\-\-\-\-END PRIVATE KEY\-\-\-\-\-"
676 .fi
677 .RE
678 .P
679 It is \fInot\fR the path to a key file (and there is no "keyfile" option)\.
680 .SS link
681 .RS 0
682 .IP \(bu 2
683 Default: false
684 .IP \(bu 2
685 Type: Boolean
686
687 .RE
688 .P
689 If true, then local installs will link if there is a suitable globally
690 installed package\.
691 .P
692 Note that this means that local installs can cause things to be
693 installed into the global space at the same time\.  The link is only done
694 if one of the two conditions are met:
695 .RS 0
696 .IP \(bu 2
697 The package is not already installed globally, or
698 .IP \(bu 2
699 the globally installed version is identical to the version that is
700 being installed locally\.
701
702 .RE
703 .SS local\-address
704 .RS 0
705 .IP \(bu 2
706 Default: undefined
707 .IP \(bu 2
708 Type: IP Address
709
710 .RE
711 .P
712 The IP address of the local interface to use when making connections
713 to the npm registry\.  Must be IPv4 in versions of Node prior to 0\.12\.
714 .SS loglevel
715 .RS 0
716 .IP \(bu 2
717 Default: "warn"
718 .IP \(bu 2
719 Type: String
720 .IP \(bu 2
721 Values: "silent", "error", "warn", "http", "info", "verbose", "silly"
722
723 .RE
724 .P
725 What level of logs to report\.  On failure, \fIall\fR logs are written to
726 \fBnpm\-debug\.log\fP in the current working directory\.
727 .P
728 Any logs of a higher level than the setting are shown\.
729 The default is "warn", which shows warn and error output\.
730 .SS logstream
731 .RS 0
732 .IP \(bu 2
733 Default: process\.stderr
734 .IP \(bu 2
735 Type: Stream
736
737 .RE
738 .P
739 This is the stream that is passed to the
740 npmlog \fIhttps://github\.com/npm/npmlog\fR module at run time\.
741 .P
742 It cannot be set from the command line, but if you are using npm
743 programmatically, you may wish to send logs to somewhere other than
744 stderr\.
745 .P
746 If the \fBcolor\fP config is set to true, then this stream will receive
747 colored output if it is a TTY\.
748 .SS long
749 .RS 0
750 .IP \(bu 2
751 Default: false
752 .IP \(bu 2
753 Type: Boolean
754
755 .RE
756 .P
757 Show extended information in \fBnpm ls\fP and \fBnpm search\fP\|\.
758 .SS maxsockets
759 .RS 0
760 .IP \(bu 2
761 Default: 50
762 .IP \(bu 2
763 Type: Number
764
765 .RE
766 .P
767 The maximum number of connections to use per origin (protocol/host/port
768 combination)\. Passed to the \fBhttp\fP \fBAgent\fP used to make the request\.
769 .SS message
770 .RS 0
771 .IP \(bu 2
772 Default: "%s"
773 .IP \(bu 2
774 Type: String
775
776 .RE
777 .P
778 Commit message which is used by \fBnpm version\fP when creating version commit\.
779 .P
780 Any "%s" in the message will be replaced with the version number\.
781 .SS node\-version
782 .RS 0
783 .IP \(bu 2
784 Default: process\.version
785 .IP \(bu 2
786 Type: semver or false
787
788 .RE
789 .P
790 The node version to use when checking a package's \fBengines\fP map\.
791 .SS npat
792 .RS 0
793 .IP \(bu 2
794 Default: false
795 .IP \(bu 2
796 Type: Boolean
797
798 .RE
799 .P
800 Run tests on installation\.
801 .SS onload\-script
802 .RS 0
803 .IP \(bu 2
804 Default: false
805 .IP \(bu 2
806 Type: path
807
808 .RE
809 .P
810 A node module to \fBrequire()\fP when npm loads\.  Useful for programmatic
811 usage\.
812 .SS optional
813 .RS 0
814 .IP \(bu 2
815 Default: true
816 .IP \(bu 2
817 Type: Boolean
818
819 .RE
820 .P
821 Attempt to install packages in the \fBoptionalDependencies\fP object\.  Note
822 that if these packages fail to install, the overall installation
823 process is not aborted\.
824 .SS parseable
825 .RS 0
826 .IP \(bu 2
827 Default: false
828 .IP \(bu 2
829 Type: Boolean
830
831 .RE
832 .P
833 Output parseable results from commands that write to
834 standard output\.
835 .SS prefix
836 .RS 0
837 .IP \(bu 2
838 Default: see npm help 5 folders
839 .IP \(bu 2
840 Type: path
841
842 .RE
843 .P
844 The location to install global items\.  If set on the command line, then
845 it forces non\-global commands to run in the specified folder\.
846 .SS production
847 .RS 0
848 .IP \(bu 2
849 Default: false
850 .IP \(bu 2
851 Type: Boolean
852
853 .RE
854 .P
855 Set to true to run in "production" mode\.
856 .RS 0
857 .IP 1. 3
858 devDependencies are not installed at the topmost level when running
859 local \fBnpm install\fP without any arguments\.
860 .IP 2. 3
861 Set the NODE_ENV="production" for lifecycle scripts\.
862
863 .RE
864 .SS proprietary\-attribs
865 .RS 0
866 .IP \(bu 2
867 Default: true
868 .IP \(bu 2
869 Type: Boolean
870
871 .RE
872 .P
873 Whether or not to include proprietary extended attributes in the
874 tarballs created by npm\.
875 .P
876 Unless you are expecting to unpack package tarballs with something other
877 than npm \-\- particularly a very outdated tar implementation \-\- leave
878 this as true\.
879 .SS proxy
880 .RS 0
881 .IP \(bu 2
882 Default: null
883 .IP \(bu 2
884 Type: url
885
886 .RE
887 .P
888 A proxy to use for outgoing http requests\. If the \fBHTTP_PROXY\fP or
889 \fBhttp_proxy\fP environment variables are set, proxy settings will be
890 honored by the underlying \fBrequest\fP library\.
891 .SS rebuild\-bundle
892 .RS 0
893 .IP \(bu 2
894 Default: true
895 .IP \(bu 2
896 Type: Boolean
897
898 .RE
899 .P
900 Rebuild bundled dependencies after installation\.
901 .SS registry
902 .RS 0
903 .IP \(bu 2
904 Default: https://registry\.npmjs\.org/
905 .IP \(bu 2
906 Type: url
907
908 .RE
909 .P
910 The base URL of the npm package registry\.
911 .SS rollback
912 .RS 0
913 .IP \(bu 2
914 Default: true
915 .IP \(bu 2
916 Type: Boolean
917
918 .RE
919 .P
920 Remove failed installs\.
921 .SS save
922 .RS 0
923 .IP \(bu 2
924 Default: false
925 .IP \(bu 2
926 Type: Boolean
927
928 .RE
929 .P
930 Save installed packages to a package\.json file as dependencies\.
931 .P
932 When used with the \fBnpm rm\fP command, it removes it from the \fBdependencies\fP
933 object\.
934 .P
935 Only works if there is already a package\.json file present\.
936 .SS save\-bundle
937 .RS 0
938 .IP \(bu 2
939 Default: false
940 .IP \(bu 2
941 Type: Boolean
942
943 .RE
944 .P
945 If a package would be saved at install time by the use of \fB\-\-save\fP,
946 \fB\-\-save\-dev\fP, or \fB\-\-save\-optional\fP, then also put it in the
947 \fBbundleDependencies\fP list\.
948 .P
949 When used with the \fBnpm rm\fP command, it removes it from the
950 bundledDependencies list\.
951 .SS save\-dev
952 .RS 0
953 .IP \(bu 2
954 Default: false
955 .IP \(bu 2
956 Type: Boolean
957
958 .RE
959 .P
960 Save installed packages to a package\.json file as \fBdevDependencies\fP\|\.
961 .P
962 When used with the \fBnpm rm\fP command, it removes it from the
963 \fBdevDependencies\fP object\.
964 .P
965 Only works if there is already a package\.json file present\.
966 .SS save\-exact
967 .RS 0
968 .IP \(bu 2
969 Default: false
970 .IP \(bu 2
971 Type: Boolean
972
973 .RE
974 .P
975 Dependencies saved to package\.json using \fB\-\-save\fP, \fB\-\-save\-dev\fP or
976 \fB\-\-save\-optional\fP will be configured with an exact version rather than
977 using npm's default semver range operator\.
978 .SS save\-optional
979 .RS 0
980 .IP \(bu 2
981 Default: false
982 .IP \(bu 2
983 Type: Boolean
984
985 .RE
986 .P
987 Save installed packages to a package\.json file as
988 optionalDependencies\.
989 .P
990 When used with the \fBnpm rm\fP command, it removes it from the
991 \fBdevDependencies\fP object\.
992 .P
993 Only works if there is already a package\.json file present\.
994 .SS save\-prefix
995 .RS 0
996 .IP \(bu 2
997 Default: '^'
998 .IP \(bu 2
999 Type: String
1000
1001 .RE
1002 .P
1003 Configure how versions of packages installed to a package\.json file via
1004 \fB\-\-save\fP or \fB\-\-save\-dev\fP get prefixed\.
1005 .P
1006 For example if a package has version \fB1\.2\.3\fP, by default its version is
1007 set to \fB^1\.2\.3\fP which allows minor upgrades for that package, but after
1008 \fBnpm config set save\-prefix='~'\fP it would be set to \fB~1\.2\.3\fP which only allows
1009 patch upgrades\.
1010 .SS scope
1011 .RS 0
1012 .IP \(bu 2
1013 Default: ""
1014 .IP \(bu 2
1015 Type: String
1016
1017 .RE
1018 .P
1019 Associate an operation with a scope for a scoped registry\. Useful when logging
1020 in to a private registry for the first time:
1021 \fBnpm login \-\-scope=@organization \-\-registry=registry\.organization\.com\fP, which
1022 will cause \fB@organization\fP to be mapped to the registry for future installation
1023 of packages specified according to the pattern \fB@organization/package\fP\|\.
1024 .SS searchopts
1025 .RS 0
1026 .IP \(bu 2
1027 Default: ""
1028 .IP \(bu 2
1029 Type: String
1030
1031 .RE
1032 .P
1033 Space\-separated options that are always passed to search\.
1034 .SS searchexclude
1035 .RS 0
1036 .IP \(bu 2
1037 Default: ""
1038 .IP \(bu 2
1039 Type: String
1040
1041 .RE
1042 .P
1043 Space\-separated options that limit the results from search\.
1044 .SS searchsort
1045 .RS 0
1046 .IP \(bu 2
1047 Default: "name"
1048 .IP \(bu 2
1049 Type: String
1050 .IP \(bu 2
1051 Values: "name", "\-name", "date", "\-date", "description",
1052 "\-description", "keywords", "\-keywords"
1053
1054 .RE
1055 .P
1056 Indication of which field to sort search results by\.  Prefix with a \fB\-\fP
1057 character to indicate reverse sort\.
1058 .SS shell
1059 .RS 0
1060 .IP \(bu 2
1061 Default: SHELL environment variable, or "bash" on Posix, or "cmd" on
1062 Windows
1063 .IP \(bu 2
1064 Type: path
1065
1066 .RE
1067 .P
1068 The shell to run for the \fBnpm explore\fP command\.
1069 .SS shrinkwrap
1070 .RS 0
1071 .IP \(bu 2
1072 Default: true
1073 .IP \(bu 2
1074 Type: Boolean
1075
1076 .RE
1077 .P
1078 If set to false, then ignore \fBnpm\-shrinkwrap\.json\fP files when
1079 installing\.
1080 .SS sign\-git\-tag
1081 .RS 0
1082 .IP \(bu 2
1083 Default: false
1084 .IP \(bu 2
1085 Type: Boolean
1086
1087 .RE
1088 .P
1089 If set to true, then the \fBnpm version\fP command will tag the version
1090 using \fB\-s\fP to add a signature\.
1091 .P
1092 Note that git requires you to have set up GPG keys in your git configs
1093 for this to work properly\.
1094 .SS spin
1095 .RS 0
1096 .IP \(bu 2
1097 Default: true
1098 .IP \(bu 2
1099 Type: Boolean or \fB"always"\fP
1100
1101 .RE
1102 .P
1103 When set to \fBtrue\fP, npm will display an ascii spinner while it is doing
1104 things, if \fBprocess\.stderr\fP is a TTY\.
1105 .P
1106 Set to \fBfalse\fP to suppress the spinner, or set to \fBalways\fP to output
1107 the spinner even for non\-TTY outputs\.
1108 .SS strict\-ssl
1109 .RS 0
1110 .IP \(bu 2
1111 Default: true
1112 .IP \(bu 2
1113 Type: Boolean
1114
1115 .RE
1116 .P
1117 Whether or not to do SSL key validation when making requests to the
1118 registry via https\.
1119 .P
1120 See also the \fBca\fP config\.
1121 .SS tag
1122 .RS 0
1123 .IP \(bu 2
1124 Default: latest
1125 .IP \(bu 2
1126 Type: String
1127
1128 .RE
1129 .P
1130 If you ask npm to install a package and don't tell it a specific version, then
1131 it will install the specified tag\.
1132 .P
1133 Also the tag that is added to the package@version specified by the \fBnpm
1134 tag\fP command, if no explicit tag is given\.
1135 .SS tag\-version\-prefix
1136 .RS 0
1137 .IP \(bu 2
1138 Default: \fB"v"\fP
1139 .IP \(bu 2
1140 Type: String
1141
1142 .RE
1143 .P
1144 If set, alters the prefix used when tagging a new version when performing a
1145 version increment using  \fBnpm\-version\fP\|\. To remove the prefix altogether, set it
1146 to the empty string: \fB""\fP\|\.
1147 .P
1148 Because other tools may rely on the convention that npm version tags look like
1149 \fBv1\.0\.0\fP, \fIonly use this property if it is absolutely necessary\fR\|\. In
1150 particular, use care when overriding this setting for public packages\.
1151 .SS tmp
1152 .RS 0
1153 .IP \(bu 2
1154 Default: TMPDIR environment variable, or "/tmp"
1155 .IP \(bu 2
1156 Type: path
1157
1158 .RE
1159 .P
1160 Where to store temporary files and folders\.  All temp files are deleted
1161 on success, but left behind on failure for forensic purposes\.
1162 .SS unicode
1163 .RS 0
1164 .IP \(bu 2
1165 Default: true
1166 .IP \(bu 2
1167 Type: Boolean
1168
1169 .RE
1170 .P
1171 When set to true, npm uses unicode characters in the tree output\.  When
1172 false, it uses ascii characters to draw trees\.
1173 .SS unsafe\-perm
1174 .RS 0
1175 .IP \(bu 2
1176 Default: false if running as root, true otherwise
1177 .IP \(bu 2
1178 Type: Boolean
1179
1180 .RE
1181 .P
1182 Set to true to suppress the UID/GID switching when running package
1183 scripts\.  If set explicitly to false, then installing as a non\-root user
1184 will fail\.
1185 .SS usage
1186 .RS 0
1187 .IP \(bu 2
1188 Default: false
1189 .IP \(bu 2
1190 Type: Boolean
1191
1192 .RE
1193 .P
1194 Set to show short usage output (like the \-H output)
1195 instead of complete help when doing npm help \fBnpm\-help\fP\|\.
1196 .SS user
1197 .RS 0
1198 .IP \(bu 2
1199 Default: "nobody"
1200 .IP \(bu 2
1201 Type: String or Number
1202
1203 .RE
1204 .P
1205 The UID to set to when running package scripts as root\.
1206 .SS userconfig
1207 .RS 0
1208 .IP \(bu 2
1209 Default: ~/\.npmrc
1210 .IP \(bu 2
1211 Type: path
1212
1213 .RE
1214 .P
1215 The location of user\-level configuration settings\.
1216 .SS umask
1217 .RS 0
1218 .IP \(bu 2
1219 Default: 022
1220 .IP \(bu 2
1221 Type: Octal numeric string in range 0000\.\.0777 (0\.\.511)
1222
1223 .RE
1224 .P
1225 The "umask" value to use when setting the file creation mode on files
1226 and folders\.
1227 .P
1228 Folders and executables are given a mode which is \fB0777\fP masked against
1229 this value\.  Other files are given a mode which is \fB0666\fP masked against
1230 this value\.  Thus, the defaults are \fB0755\fP and \fB0644\fP respectively\.
1231 .SS user\-agent
1232 .RS 0
1233 .IP \(bu 2
1234 Default: node/{process\.version} {process\.platform} {process\.arch}
1235 .IP \(bu 2
1236 Type: String
1237
1238 .RE
1239 .P
1240 Sets a User\-Agent to the request header
1241 .SS version
1242 .RS 0
1243 .IP \(bu 2
1244 Default: false
1245 .IP \(bu 2
1246 Type: boolean
1247
1248 .RE
1249 .P
1250 If true, output the npm version and exit successfully\.
1251 .P
1252 Only relevant when specified explicitly on the command line\.
1253 .SS versions
1254 .RS 0
1255 .IP \(bu 2
1256 Default: false
1257 .IP \(bu 2
1258 Type: boolean
1259
1260 .RE
1261 .P
1262 If true, output the npm version as well as node's \fBprocess\.versions\fP map, and
1263 exit successfully\.
1264 .P
1265 Only relevant when specified explicitly on the command line\.
1266 .SS viewer
1267 .RS 0
1268 .IP \(bu 2
1269 Default: "man" on Posix, "browser" on Windows
1270 .IP \(bu 2
1271 Type: path
1272
1273 .RE
1274 .P
1275 The program to use to view help content\.
1276 .P
1277 Set to \fB"browser"\fP to view html help content in the default web browser\.
1278 .SH SEE ALSO
1279 .RS 0
1280 .IP \(bu 2
1281 npm help config
1282 .IP \(bu 2
1283 npm help 5 npmrc
1284 .IP \(bu 2
1285 npm help 7 scripts
1286 .IP \(bu 2
1287 npm help 5 folders
1288 .IP \(bu 2
1289 npm help npm
1290
1291 .RE
1292