This is a creation in Article, where the information may have evolved or changed.
gnvm
, is a windows
simple node. JS Multi-version manager, similar to NVMW | nodist.
Originally was in 14 to learn Go 语言
and set up a project, and then has not maintained, the results of the former, Lu continued to receive a lot of issues, since someone used, in the spirit do not want to dig the idea of not filling, and continue to update.
Let's start with a running effect:
c:\> gnvm install latest 1.0.0-x86 1.0.0-x64 5.0.0Start download Node.js versions [5.10.1, 1.0.0, 1.0.0-x86, 5.0.0].5.10.1: 18% [=========>__________________________________________] 4s 1.0.0: 80% [==========================================>_________] 40s1.0...: 50% [==========================>_________________________] 30s 5.0.1: 100% [==================================================>] 20sEnd download.c:\> gnvm ls5.1.1 -- latest1.0.01.0.0 -- x865.0.0 -- globalc:\> gnvm use latestSet success, current Node.js version is 5.10.0.c:\> gnvm update latestUpdate success, current Node.js latest version is 5.10.0.
Since it is a wheel, always have a kind of wheel, relative to its former/descendants, has the following characteristics:
Single file, not dependent on any environment.
Download ready to use, no configuration required.
Color log output.
Support multi-tasking download.
Built-in TAOBAO, easy to switch, also support customization.
Support for NPM
download/installation/configuration.
You can set a locale that already exists node.exe
as a staging environment. (Useful when comparing performance)
Download
32-bit | 64-bit commonly used address, Box, speed slightly slower
32-bit | 64-bit Alternate address, Baidu Network disk, fast speed
32-bit | 64-bit Alternate address, Github
Users who have already installed go, use the
go get github.com/Kenshin/gnvm
Users who already have Git installed, use the
git clone git@github.com:Kenshin/gnvm-bin.git
Users who already have Curl installed, use the
curl -L https://github.com/Kenshin/gnvm-bin/blob/master/32-bit/gnvm.exe?raw=true -o gnvm.exe
curl -L https://github.com/Kenshin/gnvm-bin/blob/master/64-bit/gnvm.exe?raw=true -o gnvm.exe
Installation
Download and unzip the gnvm.exe
save to any folder and add this folder to the environment variable Path
.
Download and unzip gnvm.exe
Node.js
the folder where you saved it.
Verify
0.2.0
features as of version:
config 配置 .gnvmrcuse 使用某个本地已存在的 Node.js 版本ls 输出 [local] [remote] Node.js 版本install 下载 /安装任意已知版本的 Node.jsuninstall 删除任意本地已存在的 Node.jsupdate 下载 Node.js latest 版本并更新到 .gnvmrc 里面npm NPM 下载 /安装 /删除 管理session 临时设定本地某个已存在的 Node.js 为 全局 Node.jssearch 查询并且输出符合查询条件的 Node.js 版本详细信息的列表node-version 输出 [global] [latest] Node.js 版本reg 设定 .gnvmrc 属性值 [noderoot] 为 环境变量 [NODE_HOME],并加入到 Path 中version 查看 gnvm 版本
By the way, a website:
Because the function is more, so with gitbook
built a API 文档
, address:
Last Full functional atlas:
Written in the last words:
The official website and the API document are more detailed, the majority of use problems can find solutions.
Do not know from when to start, judging a project of good or bad standards into Github
the above Start 数
, although reasonable, but also quite helpless. If gnvm
really good, do not need to buy me a cup of coffee, I hope you can give a star in HTTPS://GITHUB.COM/KENSHIN/GNVM, not for others, just to let more people understand gnvm
.
Hope gnvm
to solve your development 痛点
.