How To Uninstall Node On Mac?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To uninstall Node on a Mac, open the terminal and enter the following command:
sudo rm -rf /usr/local/bin/node
This will completely remove Node from your system. To completely remove all of the Node modules, you can also execute the following command:
sudo rm -rf /usr/local/lib/node_modules/
Finally, you can remove the Node cache folder by entering the following command:
sudo rm -rf /usr/local/var/cache/node-gyp/
You have now successfully uninstalled Node from your Mac.