Created
June 17, 2014 22:23
-
-
Save rex/71f6521f83034552d315 to your computer and use it in GitHub Desktop.
One-liner to completely remove Node.js and NPM from a machine, as per https://github.com/joyent/node/issues/4058#issuecomment-9204752
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment