Skip to content

Instantly share code, notes, and snippets.

View edPratt's full-sized avatar

Ed Pratt edPratt

View GitHub Profile
@edPratt
edPratt / mac-osx-node-npm.md
Last active December 19, 2019 21:56
Fixing npm On Mac OS X; When npm install -g does not work

Nuke Everything node/npm related

(If you have setup another prefix)
rm -rf .npm-global

sudo rm -rf /usr/local/lib/node_modules
sudo rm -rf ~/.npm
brew uninstall node --ignore-dependencies node
rm -rf /usr/local/lib/node_modules