Uninstall node.js on CentOS 6 7
Yes node has an uninstaller !
Get the .tar.gz of the release you have, for example for 0.10.46
https://github.com/nodejs/node/releases/tag/v0.10.46
Assuming it is downloaded in your your home ~/
$> tar -xzvf node-0.10.46.tar.gz $> cd node-0.10.46 $> sudo make uninstall Note in my case I had to reboot otherwise CentOS 6 was still trying to access the unexisting "node" and "npm" instead of just saying "". This was messing up some build scripts; so a reboot is needed.To just uninstall npm
$> sudo npm uninstall npm -g
Recent Comments