Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/feed.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/feed.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/script-loader.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/script-loader.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/class-wp-http.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/class-wp-http.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/class-wp-http-streams.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/class-wp-http-streams.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/nav-menu-template.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/nav-menu-template.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php on line 1

Notice: Uninitialized string offset: 0 in /var/www/saketkumar/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php on line 1
Useful NVM commands – Saket Kumar
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

Tags: