//To see all versions of Node that are installed on your machine use the command:
$ npm -v
//To see versions installed on machine
$ nvm ls
-> v16.1.0
system
default -> node (-> v16.1.0)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v16.1.0) (default)
stable -> 16.1 (-> v16.1.0) (default)
// add a new version
$ nvm install <version>
// to switch to a different verison
$ nvm use <version>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter