npm -g which directory code example Example: npm -g location %userprofile%\AppData\Roaming\npm\node_modules