How do I update Node.js?

Use Node Version Manager (NVM)

It’s a Bash script that lets you download and manage different versions of node. Full source code is here.

There is a separate project for nvm for Windows: github.com/coreybutler/nvm-windows

Below are the full steps to use NVM for multiple version of node on windows

  1. download nvm-setup.zip extract and install it.
  2. execute command nvm list available from cmd or gitbash or powershell, this will list all available version of node

3 .use command nvm install version e.g. nvm install 12.14.0 to install on the machine 4.last once installed use nvm use version to use newer version e.g. nvm use 12.14.0

Leave a Comment