查看npm配置

查看npm配置

fei@DESKTOP-J45LEIL MINGW64 ~/Desktop
$ npm config list      // 执行命令
; cli configs
metrics-registry = "https://registry.npmjs.org/"
scope = ""
user-agent = "npm/6.13.4 node/v8.17.0 win32 x64"

; node bin location = D:\soft_position\js_path\nodejs\node.exe
; cwd = C:\Users\fei\Desktop
; HOME = C:\Users\fei
; "npm config ls -l" to show all defaults.


fei@DESKTOP-J45LEIL MINGW64 ~/Desktop

原文地址:https://www.cnblogs.com/dafei4/p/15552335.html