1.brew uninstall node
2.sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*} 进入相关目录
3.brew doctor查看残余文件
4.brew prune卸载
1.brew uninstall node
2.sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*} 进入相关目录
3.brew doctor查看残余文件
4.brew prune卸载
本文标题:如何删除node、npm
本文链接:https://www.haomeiwen.com/subject/vglcvxtx.html
网友评论