如何彻底删除已安装的alinode
发布于 1 年前 作者 wldlzt 806 次浏览 来自 问答

如题。因某些原因暂时不想用alinode,但直接安装原版node.js又无法替换,设置环境变量又不熟悉,所以还是想先删除,有知道方法的朋友麻烦告知下。

2 回复

tnvm

Taobao Node Version Manager

Usage: tnvm help Show this message tnvm -v Print out the latest released version of tnvm tnvm lookup Print alinode base on node versions tnvm install <version> Download and install a <version> tnvm uninstall <version> Uninstall a version tnvm use <version> Modify PATH to use <version>. Uses .tnvmrc if available tnvm current Display currently activated version tnvm ls [node|alinode|iojs|profiler] List versions matching a given description tnvm ls-remote [node|alinode|iojs|profiler] List remote versions available for install tnvm upgrade Upgrade tnvm self tnvm unload Unload tnvm from shell

Example: tnvm install alinode-v1.0.0 Install a specific version number tnvm use alinode-v1.0.0 Use the latest available release

Note: to remove, delete, or uninstall tnvm - just remove ~/.tnvm, ~/.npm, and ~/.bower folders

回到顶部