Table of Contents
LINUX
There are many tutorials using a similar approach, for instance:
Installing Multiple Versions of Node.js Using nvm
Install Node.js Locally with Node Version Manager
The tutorial show a curl or wget command using a pre-defined URL that points to a specific version.
My question is that versions come old and I’d like an alternative procedure to make sure to get the latest version.
The straight way is: go to the source.
That way, point to:
github.com/nvm-sh/nvm
Go to the README.md and search for “Installing…”and follow the instructions.
WINDOWS
The procedure for windows requires some extra steps.
To avoid installing Cygwin and etc. to enable using bash console there are alternatives that you may find in the same documentation referred above.
Among the alternatives supplied, I’ve chosen the one shown next that worked fine for me.
Installing with nvm-windows
- Go to:
github.com/coreybutler/nvm-windows - Download
github.com/coreybutler/nvm-windows/releases - Chose an option.
There are many options and I’ve picked:
nvm-setup.zip - Extract and run as admin:
nvm-setup.exe - Follow the wizard and if offered to control, accept it.
After the installation, open a new console.
To understand how to use it, you may:
1. Type:
nvm
2. Or use the README.md documentation at:
github.com/coreybutler/nvm-windows
SITE’S INTERNAL CONTROL
@SYNC: y;using multimple node.js with nvm-windows<memo<node;.
Brazilian system analyst graduated by UNESA (University Estácio de Sá – Rio de Janeiro). Geek by heart.