Removing Node.Js from Mountain Lion


Question

Possible Duplicate:
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)

I'm trying to remove Node.js from my system so I can reinstall it using the NVM version manager.

I installed Node.js a while ago and according to node --version, I'm running v0.6.8

I've had a look around but most of the answers i've found are limited to Node being installed via a PKG file and their remedies don't work for me..

1
16
5/23/2017 11:51:26 AM

Accepted Answer

As found by answer How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)

  1. go to /usr/local/lib and delete any node and node_modules
  2. go to /usr/local/include and delete any node and node_modules directory
  3. if you installed with brew install node, then run brew uninstall node in your terminal
  4. check your Home directory for any "local" or "lib" or "include" folders, and delete any "node" or "node_modules" from there
  5. go to /usr/local/bin and delete any node executable
  6. go to /usr/bin and delete any node executable
56
5/23/2017 12:32:38 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon