1 Star 5 Fork 0

楼教主 / tnvm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

tnvm

由于 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)"

以下是官方文档,只是修改了安装地址,其他功能已官方为准

tnvm

Taobao Node Version Manager

Installation

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

Usage

Support alinode, node, iojs, node-profiler version manager

tnvm lookup 查看 alinode 基于 node 的版本, 便于替换相应版本。

Example install alinode:

  • tnvm ls-remote alinode
  • tnvm lookup
  • tnvm install alinode-v1.0.1
  • tnvm use alinode-v1.0.1

Example install node:

  • tnvm install node-v4.2.1
  • tnvm use node-v4.2.1

Example install node-profiler:

  • tnvm install profiler-v0.12.6
  • tnvm use profiler-v0.12.6

More:

  • refer to tnvm help

Note:

  • to remove, delete, or uninstall tnvm - just remove ~/.tnvm folders

License

tnvm is released under the MIT license.

The MIT License (MIT) Copyright (c) 2015 jiangling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

The Node version manager (GitHub 上的镜像,修改为从码云安装) 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/cik/tnvm.git
git@gitee.com:cik/tnvm.git
cik
tnvm
tnvm
master

搜索帮助