I want to configure my node setup such that it stores global modules (installed using npm install -g <pkg> to (and also reads from) a custom directory D:\node_modules. default path is C:\Users\User\AppData\Roaming\npm . Any pointers would be much appreciated.
OS is Windows.