]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man1/npm-config.1
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man1 / npm-config.1
1 .TH "NPM\-CONFIG" "1" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-config\fR \- Manage the npm configuration files
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm config set <key> <value> [\-\-global]
9 npm config get <key>
10 npm config delete <key>
11 npm config list
12 npm config edit
13 npm c [set|get|delete|list]
14 npm get <key>
15 npm set <key> <value> [\-\-global]
16
17 aliases: c
18 .fi
19 .RE
20 .SH DESCRIPTION
21 .P
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\.
24 .P
25 See npm help 5 npmrc for more information about the npmrc files\.
26 .P
27 See npm help 7 \fBnpm\-config\fP for a more thorough discussion of the mechanisms
28 involved\.
29 .P
30 The \fBnpm config\fP command can be used to update and edit the contents
31 of the user and global npmrc files\.
32 .SH Sub\-commands
33 .P
34 Config supports the following sub\-commands:
35 .SS set
36 .P
37 .RS 2
38 .nf
39 npm config set key value
40 .fi
41 .RE
42 .P
43 Sets the config key to the value\.
44 .P
45 If value is omitted, then it sets it to "true"\.
46 .SS get
47 .P
48 .RS 2
49 .nf
50 npm config get key
51 .fi
52 .RE
53 .P
54 Echo the config value to stdout\.
55 .SS list
56 .P
57 .RS 2
58 .nf
59 npm config list
60 .fi
61 .RE
62 .P
63 Show all the config settings\.
64 .SS delete
65 .P
66 .RS 2
67 .nf
68 npm config delete key
69 .fi
70 .RE
71 .P
72 Deletes the key from all configuration files\.
73 .SS edit
74 .P
75 .RS 2
76 .nf
77 npm config edit
78 .fi
79 .RE
80 .P
81 Opens the config file in an editor\.  Use the \fB\-\-global\fP flag to edit the
82 global config\.
83 .SH SEE ALSO
84 .RS 0
85 .IP \(bu 2
86 npm help 5 folders
87 .IP \(bu 2
88 npm help 7 config
89 .IP \(bu 2
90 npm help 5 package\.json
91 .IP \(bu 2
92 npm help 5 npmrc
93 .IP \(bu 2
94 npm help npm
95
96 .RE
97