node_module config

node_module

Config

  • npm

    “C:/program file/node/node_module”

  • cache
    “C://Users//HPUser//AppData//Roaming//npm-cache”
    /home/xx/.npm
  • prefix
    “C://Users//HPUser//AppData//Roaming//npm”
    “/usr/local”
  • userconfig
    “C://Users//HPUser//.npmrc”
    “/home/xx/.npmrc”
  • globalconfig
    “C://Users//HPUser//AppData//Roaming//npm//etc//npmrc”
    “/usr/local/etc/npmrc”
  • tmp
    “C://Users//HPUser//AppData//Local//Temp”
    “/home/xx/tmp”

Show config list

1
2
npm config list
npm config get prefix / set prefix