nvmx
Node Version Manager for Windows
Supported node versions >= 0.8.0
Supported platforms = node.js && io.js
Supported shells = cmd.exe && powershell.exe
Installation
v1:
- clone repo:
git clone https://github.com/dab00/nvmx.git "%HOMEDRIVE%%HOMEPATH%\.nvmx"
- add nvmx directory to your PATH environment variable (required admin privileges):
setx /M PATH "%HOMEDRIVE%%HOMEPATH%\.nvmx;%PATH%"
v2:
- install via npm:
npm install -g nvmx
- add nvmx directory to your PATH environment variable (required admin privileges):
setx /M PATH "%APPDATA%\npm\node_modules\nvmx;%PATH%"
v3:
- download and unzip archive
- add path to unzipped folder to your PATH environment variable
Usage
Commands:
nvmx latest [platform] Get latest available version
nvmx find [platform] Get available versions
nvmx install [platform] <version> [arch] Download and extract (install) <version>
nvmx list [platform] [arch] Get installed versions
nvmx use [platform] [version] [arch] Modify PATH to use [version=last used version]
nvmx remove [platform] <version> [arch] Remove (uninstall) <version>
nvmx off Modify PATH to not use nvmx
nvmx shell <shell> Get|Set default shell
nvmx alias <alias> Create alias for nvmx
nvmx path Get path to nvmx folder
nvmx [?] Get help message
Aliases:
lt latest -lt --latest /lt /latest
f find -f --find /f /find
i install -i --install /i /install
ls list -ls --list /ls /list
u use -u --use /u /use
rm remove -rm --remove /rm /remove
Platforms:
node nodejs node.js
io iojs io.js
Architectures:
x64 64
x86 86
Shells:
cmd
ps powershell
Defaults:
platform = node
arch = os architecture
shell = cmd
How to
- use with powershell:
nvmx shell powershell
- create alias for nvmx:
nvmx alias your-alias-here
Alternatives
- nvmw - Windows Only
- nvm-windows - Windows Only
- nodist - Windows Only
- nvm - Mac/Linux Only
- n - Mac/Linux Only