How to remove and reinstall Mac node
This article mainly introduces how to delete and reinstall Mac node, which is very detailed and has a certain reference value. Friends who are interested must finish reading it!
Mac node remove and reinstall
Delete
Node-vsudo npm uninstall npm-gsudo rm-rf / usr/local/lib/node / usr/local/lib/node_modules / var/db/receipts/org.nodejs.*sudo rm-rf / usr/local/include/node / Users/$USER/.npmsudo rm / usr/local/bin/nodesudo rm / usr/local/share/man/man1/node.1sudo rm / usr/local/lib/dtrace/node.d
Confirm that deletion is complete
Node-vnpm-v
Download the stable version installation again on the official website
The above is all the contents of the article "how to remove and reinstall Mac node". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!