代码拉取完成,页面将自动刷新
由于 GitHub 最近不稳定,导致 tnvm 安装也时好时坏,所以用在码云这边做了个官方镜像,直接从码云安装。
wget -O- https://gitee.com/cik/tnvm/raw/master/install.sh | bash
使用curl(Mac 已内置)
bash -c "$(curl -fsSL https://gitee.com/cik/tnvm/raw/master/install.sh)"
以下是官方文档,只是修改了安装地址,其他功能已官方为准
Taobao Node Version Manager
wget -O- https://raw.githubusercontent.com/aliyun-node/tnvm/master/install.sh | bash
使用curl(Mac 已内置)
bash -c "$(curl -fsSL https://raw.githubusercontent.com/aliyun-node/tnvm/master/install.sh)"
PS: 内网环境或者代理环境可在执行上述命令前增加执行, 使用wget获取文件
export METHOD=script
手动source rc文件或重新打开sh,即可启动。
如果遇到 ssl 证书问题, 尝试wget
加上选项--no-check-certificate
Support alinode
, node
, iojs
, node-profiler
version manager
tnvm lookup
查看 alinode
基于 node
的版本, 便于替换相应版本。
Example install alinode:
Example install node:
Example install node-profiler:
More:
tnvm help
Note:
tnvm is released under the MIT license.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。