When I run
npm ls -g
I get back
-> /usr/local/lib64/usr/local/bin (empty)
Which is obviously incorrect. Us
For those on Windows the npmrc file can be found in C:\path\to\nodejs\node_modules\npm\npmrc. You can change the prefix as mentioned in the answer by cmaxo. By default it's usually something like ${APPDATA}\npm.
npmrc
C:\path\to\nodejs\node_modules\npm\npmrc
prefix
${APPDATA}\npm