]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/cli/npm-config.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / cli / npm-config.md
1 npm-config(1) -- Manage the npm configuration files
2 ===================================================
3
4 ## SYNOPSIS
5
6     npm config set <key> <value> [--global]
7     npm config get <key>
8     npm config delete <key>
9     npm config list
10     npm config edit
11     npm c [set|get|delete|list]
12     npm get <key>
13     npm set <key> <value> [--global]
14
15     aliases: c
16
17 ## DESCRIPTION
18
19 npm gets its config settings from the command line, environment
20 variables, `npmrc` files, and in some cases, the `package.json` file.
21
22 See npmrc(5) for more information about the npmrc files.
23
24 See `npm-config(7)` for a more thorough discussion of the mechanisms
25 involved.
26
27 The `npm config` command can be used to update and edit the contents
28 of the user and global npmrc files.
29
30 ## Sub-commands
31
32 Config supports the following sub-commands:
33
34 ### set
35
36     npm config set key value
37
38 Sets the config key to the value.
39
40 If value is omitted, then it sets it to "true".
41
42 ### get
43
44     npm config get key
45
46 Echo the config value to stdout.
47
48 ### list
49
50     npm config list
51
52 Show all the config settings.
53
54 ### delete
55
56     npm config delete key
57
58 Deletes the key from all configuration files.
59
60 ### edit
61
62     npm config edit
63
64 Opens the config file in an editor.  Use the `--global` flag to edit the
65 global config.
66
67 ## SEE ALSO
68
69 * npm-folders(5)
70 * npm-config(7)
71 * package.json(5)
72 * npmrc(5)
73 * npm(1)