Created
August 2, 2019 09:13
-
-
Save anddam/63e6a3bd062820d4874d294e31e6c5e3 to your computer and use it in GitHub Desktop.
npm config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prefix = ${HOME}/.local/ | |
cache = ${HOME}/.cache/npm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm config list | |
; cli configs | |
metrics-registry = "https://registry.npmjs.org/" | |
scope = "" | |
user-agent = "npm/6.10.1 node/v8.10.0 linux x64" | |
; environment configs | |
userconfig = "/home/ada/.config/npm/npmrc" | |
; userconfig /home/ada/.config/npm/npmrc | |
cache = "/home/ada/.cache/npm" | |
prefix = "/home/ada/.local" | |
; globalconfig /etc/npmrc | |
userconfig = "/home/ada/.config/npm/npmrc" | |
; builtin config undefined | |
globalconfig = "/etc/npmrc" | |
globalignorefile = "/etc/npmignore" | |
; node bin location = /usr/bin/node | |
; cwd = /home/ada | |
; HOME = /home/ada | |
; "npm config ls -l" to show all defaults. | |
$ del $NPM_CONFIG_USERCONFIG | |
ada@ada-pc ~ | |
$ npm config list | |
; cli configs | |
metrics-registry = "https://registry.npmjs.org/" | |
scope = "" | |
user-agent = "npm/6.10.1 node/v8.10.0 linux x64" | |
; globalconfig /etc/npmrc | |
userconfig = "/home/ada/.config/npm/npmrc" | |
; builtin config undefined | |
globalconfig = "/etc/npmrc" | |
globalignorefile = "/etc/npmignore" | |
prefix = "/usr/local" | |
; node bin location = /usr/bin/node | |
; cwd = /home/ada | |
; HOME = /home/ada | |
; "npm config ls -l" to show all defaults. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
userconfig = ${HOME}/.config/npm/npmrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment