Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aliyun-node/tnvm
The Node version manager
https://github.com/aliyun-node/tnvm
Last synced: about 2 hours ago
JSON representation
The Node version manager
- Host: GitHub
- URL: https://github.com/aliyun-node/tnvm
- Owner: aliyun-node
- License: mit
- Created: 2015-07-22T01:59:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-11T02:58:11.000Z (about 1 month ago)
- Last Synced: 2024-12-15T03:03:57.798Z (7 days ago)
- Language: Shell
- Homepage:
- Size: 95.7 KB
- Stars: 177
- Watchers: 10
- Forks: 37
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - aliyun-node/tnvm - The Node version manager (Shell)
README
# tnvm
Taobao Node Version Manager## Installation
```shell
wget -O- https://raw.githubusercontent.com/aliyun-node/tnvm/master/install.sh | bash
```使用curl(Mac 已内置)
```shell
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` 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.1Example install node:
* tnvm install node-v4.2.1
* tnvm use node-v4.2.1More:
* refer to `tnvm help`Note:
* to remove, delete, or uninstall tnvm - just remove ~/.tnvm folders## License
tnvm is released under the MIT license.