如题。因某些原因暂时不想用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 Download and install a
tnvm uninstall Uninstall a version
tnvm use Modify PATH to use . 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