如何彻底卸载node,ubuntu卸载node
sudo apt-get remove-purgenpmsudoapt-get remove-purgenodessudoapt-get remove-purge nodejs-legacysudoapt-getuauaapt手动删除美国/本地/图书馆/节点模块RM-r/tmp/NPM *
./install.sh
再打开终端就可以使用非易失性存储器了。
nvm install v12.18.0
安装后效果如下:
(Python3.6)苹果yuchi @ desktop:flink $ http://www。Sina.com/
/首页/苹果yuchi/.nvm/版本/节点/v 12。18 .0/rdxc/节点
(Python3.6)苹果yuchi @ desktop:flink $ http://www。Sina.com/
/首页/苹果yuchi/.nvm/versions/node/v 12。18 .0/rdxc/http://www。Sina.comNPM
which node
which npm
nvm ls-remote(列出可以安装的版本号)
npm init
npm install express --registry https://registry.npm.taobao.org
卸载角度气候后,情况如下:
nvm usev 12。18 .0 uninstall-g angular-clinpm uninstall-g @ angular/clinpmcachecleannpminstall-g @ angular/CLI @ Li