我是靠谱客的博主 高兴西牛,这篇文章主要介绍ubuntu16.04node和npm卸载干净,现在分享给大家,希望可以做个参考。

如下命令便可以实现该目的:

复制代码
1
2
3
4
5
6
7
8
9
10
11
#apt-get 卸载 sudo apt-get remove --purge npm sudo apt-get remove --purge nodejs sudo apt-get remove --purge nodejs-legacy sudo apt-get autoremove #手动删除 npm 相关目录 rm -r /usr/local/bin/npm rm -r /usr/local/lib/node-moudels find / -name npm rm -r /tmp/npm*

 

转载于:https://www.cnblogs.com/youcong/p/10326243.html

最后

以上就是高兴西牛最近收集整理的关于ubuntu16.04node和npm卸载干净的全部内容,更多相关ubuntu16内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部