我是靠谱客的博主 飞快钢笔,这篇文章主要介绍Ubuntu 卸载安装 node 和 npm0x00. node 和 npm 卸载不干净0x01. 安装最新的 node 和 npm 戳这里,现在分享给大家,希望可以做个参考。
0x00. node 和 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*
0x01. 安装最新的 node 和 npm 戳这里
转自 https://www.jianshu.com/p/a9212848a34f
最后
以上就是飞快钢笔最近收集整理的关于Ubuntu 卸载安装 node 和 npm0x00. node 和 npm 卸载不干净0x01. 安装最新的 node 和 npm 戳这里的全部内容,更多相关Ubuntu内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复