使用Linux命令行卸载Node.JS? [英] Uninstall Node.JS using Linux command line?
本文介绍了使用Linux命令行卸载Node.JS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用linux中的cmd行卸载node.js?
How do you uninstall node.js using the cmd line in linux?
推荐答案
运行节点
将返回 / path / bin / node
。
code> cd / path
Then run cd /path
这是Node.JS添加的所有内容。
This is all that is added by Node.JS.
rm -r bin/node bin/node-waf include/node lib/node lib/pkgconfig/nodejs.pc share/man/man1/node.1
现在我唯一不知道的是npm和它安装了什么。如果你再次安装npm到一个自定义路径开始空,然后你可以看到它添加了,然后你将能够列出一个npm类似于我为节点上面的列表。
Now the only thing I don't know about is npm and what it has installed. If you install npm again into a custom path that starts off empty, then you can see what it adds and then you will be able to make a list for npm similar to the above list I made for node.
这篇关于使用Linux命令行卸载Node.JS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文