Skip to content

Commit

Permalink
docs: Fix npm-config reference to userconfig & globalconfig env vars
Browse files Browse the repository at this point in the history
Credit: @racztiborzoltan
Reviewed-By: @kenany
Reviewed-By: @iarna
PR-URL: npm/npm#17369
  • Loading branch information
racztiborzoltan authored and iarna committed Jun 26, 2017
1 parent f8e76d8 commit d0f3b5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/misc/npm-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ The four relevant files are:

* per-project configuration file (`/path/to/my/project/.npmrc`)
* per-user configuration file (defaults to `$HOME/.npmrc`; configurable via CLI
option `--userconfig` or environment variable `$NPM_CONF_USERCONFIG`)
option `--userconfig` or environment variable `$NPM_CONFIG_USERCONFIG`)
* global configuration file (defaults to `$PREFIX/etc/npmrc`; configurable via
CLI option `--globalconfig` or environment variable `$NPM_CONF_GLOBALCONFIG`)
CLI option `--globalconfig` or environment variable `$NPM_CONFIG_GLOBALCONFIG`)
* npm's built-in configuration file (`/path/to/npm/npmrc`)

See npmrc(5) for more details.
Expand Down

0 comments on commit d0f3b5a

Please sign in to comment.