[WIN] Install nvm
nvm is a terminal command that allows you to install and switch between different versions of Node.js. Usually, your system can have only one version of Node.js installed at one time. With nvm, you can switch to a newer version, try some new features, and then back to an older version for your more serious projects.
- Check if
nvm
and was installed:
$ nvm --version
# 0.32.1 (current, but in the time you check might be different)
If nvm
is not installed, proceed to the next step:
- To install nvm, run these commands one by one in your terminal (without the
$
):
$ mkdir ~/.nvm
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | zsh
Close your terminal window and reopen it by launching the Ubuntu app.