nvm4win
v0.1.4
Published
extend the nvm
Downloads
3
Readme
Requirements
- nvm
- Windows OS
Installation
npn install -g nvm4win
Usage
Support all commands just like nvm
eg.
n4w list
n4w use 8.11.2
features
- Quickly switch to the version defined by the .nvmrc file
File content
8.11.2
Then run the following command to quickly switch
n4w use
- It also supports naming aliase for node versions
n4w alias 8.11.2 node8
After naming ,Run the following command to activate
n4w use node8
- show all the aliases
n4w alias
WOW
依赖
- nvm
- 必须是windows平台
快速安装
npn install -g nvm4win
使用
把nvm替换成n4w即可
例如
n4w list
n4w use 8.11.2
新增功能
- 快速切换到.nvmrc文件定义的版本(提前在根目录下定义.nvmrc文件))
文件内容
8.11.2
然后运行以下命令即可快速切换
n4w use
- 另外还支持为每个node版本命名别名例如
n4w alias 8.11.2 node8
命名别名后,执行use别名即可
n4w use node8
- 查看所有alias
n4w alias
哇塞