header

Node Version Manager

May 20, 2021

Link to github - https://github.com/nvm-sh/nvm

Installation

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

Usage

nvm install node # to install latest version of node
nvm install 6.14.4 # to install specific version of node

nvm ls-remote # list available versions of node
nvm ls # list installed versions of node
nvm list #list installed versions of node

nvm use node # specify which version of node to use
nvm use v14.16.1 # specify which version of node to use