Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

document config edit

  • Loading branch information...
commit 8a5eaa610c434c2866c36d2f76fe3e06d98e8fed 1 parent bafeb9d
@isaacs isaacs authored
Showing with 18 additions and 0 deletions.
  1. +7 −0 doc/config.md
  2. +11 −0 man1/config.1
View
7 doc/config.md
@@ -7,6 +7,7 @@ npm-config(1) -- Manage the npm configuration file
npm config get <key>
npm config delete <key>
npm config list
+ npm config edit
## DESCRIPTION
@@ -62,6 +63,12 @@ Show all the config settings.
Deletes the key from all configuration files.
+### edit
+
+ npm config edit
+
+Opens the config file in an editor. Use the `--global` flag to edit the global config.
+
## Config Settings
npm supports a very basic argument parser. For any of the settings
View
11 man1/config.1
@@ -13,6 +13,7 @@ npm config set <key> <value> [\-\-global]
npm config get <key>
npm config delete <key>
npm config list
+npm config edit
.
.fi
.
@@ -94,6 +95,16 @@ npm config delete key
.P
Deletes the key from all configuration files\.
.
+.SS "edit"
+.
+.nf
+npm config edit
+.
+.fi
+.
+.P
+Opens the config file in an editor\. Use the \fB\-\-global\fR flag to edit the global config\.
+.
.SH "Config Settings"
npm supports a very basic argument parser\. For any of the settings
in npm\-config(1), you can set them explicitly for a single command by
Please sign in to comment.
Something went wrong with that request. Please try again.