Homelab, Linux, JS & ABAP (~˘▾˘)~
 

[nodejs] Node Version Manager (NVM)

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
 
# check current used node version
node -v
 
# list local available node versions
nvm list
 
# list all released node versions
nvm ls-remote
 
# install specific node version and switch to it
nvm install v20.5.1
 
# switch to a specific node version, which is already installed
nvm use v20.5.1

Leave a Reply

Your email address will not be published. Required fields are marked *