1 .TH "NPM\-CONFIG" "1" "October 2016" "" ""
3 \fBnpm-config\fR \- Manage the npm configuration files
8 npm config set <key> <value> [\-\-global]
10 npm config delete <key>
13 npm c [set|get|delete|list]
15 npm set <key> <value> [\-\-global]
22 npm gets its config settings from the command line, environment
23 variables, \fBnpmrc\fP files, and in some cases, the \fBpackage\.json\fP file\.
25 See npm help 5 npmrc for more information about the npmrc files\.
27 See npm help 7 \fBnpm\-config\fP for a more thorough discussion of the mechanisms
30 The \fBnpm config\fP command can be used to update and edit the contents
31 of the user and global npmrc files\.
34 Config supports the following sub\-commands:
39 npm config set key value
43 Sets the config key to the value\.
45 If value is omitted, then it sets it to "true"\.
54 Echo the config value to stdout\.
63 Show all the config settings\.
72 Deletes the key from all configuration files\.
81 Opens the config file in an editor\. Use the \fB\-\-global\fP flag to edit the
90 npm help 5 package\.json