Delete nodejs under mac

In the MAC environment, if I deleted the node environment before, if it was a version before node.js 4.4 installed with brew. You can refer to other methods online, and my previous posts also have previous deletion methods. Reference post:

http://www.cnblogs.com/wjw-blog/p/4840727.html

In addition, as long as the installation package is downloaded from the official website of node, the node installed with the installation package should be uninstalled with the following command line:

Enter the following command in the terminal:

sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*}

Attached: nodejs download https: //nodejs.org/dist/

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326920694&siteId=291194637