Uninstalling the currently active version of node.js with nvm

不羁岁月 提交于 2019-12-03 12:39:39
Shar

First type

$ nvm deactivate

Then type

$ nvm uninstall 8.8.1

You can uninstall the nodejs by using the following command.

yum remove nodejs

However, this will not remove the nvm from your linux box. To remove that try the below command.

nvm unload

rm -Rf ~/.nvm

This is the nuclear option in my case. just -R would ask me if I really wanted to delete every file in the nvm folder.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!