Contents tagged with npm-cache

  • Using npm config to modify cache location, featuring a sample npmrc file

    As usual, the internet isn't always 100% up to date. Looking into the use of npm config, the documentation states that the global npmrc file lives in $PREFIX/npmrc - however, when you actually look for it, you'll find that it actually lives in $PREFIX/etc/npmrc You can find the value of $PREFIX by running: npm get config prefix On Windows, this'll be in your user's AppData folder, normally. … more

  • 1