Saket Kumar

Game Developer

Entrepreneur

Freelancer

Consultant

Saket Kumar

Game Developer

Entrepreneur

Freelancer

Consultant

Blog Post

Useful NVM commands

December 9, 2023 Cheat Sheet
Useful NVM commands

NVM (Node Version Manager) is a tool used to download, install, manage, and upgrade Node. js versions. It allows the user to maintain multiple versions of Node. js on their system and change the active version depending on their current needs.

Useful NVM commands

// check version
node -v || node –version

// list locally installed versions of node
nvm ls

// list remove available versions of node
nvm ls-remote

// install specific version of node
nvm install 18.16.1

// set default version of node
nvm alias default 18.16.1

// switch version of node
nvm use 20.5.1

// install latest LTS version of node (Long Term Support)
nvm install –lts

// install latest stable version of node
nvm install stable

Taggs: