How to change to an older version of node.js on Windows.

17 February 2018

By: Sagittarius

Category: Blogs

Today I’m going to be exploring how to manage multiple installations of Node.js on a windows computer following an issue I recently came across whilst working on a project.

The project I was working on required me to update my version of Node.js; a pretty straightforward process, until I then returned to an older project that was dependent on an earlier version of Node.

Upon this realisation, I completed a quick search and stumbled across a useful tool that can be installed on your Windows machine:

The Node Version Manager. You can find it at https://github.com/coreybutler/nvm-windows

It allows you to easily install and manage multiple versions of node. Here’s a snippet from the help:

Usage:

nvm install <version>       Download and install a <version>

nvm use <version>            Modify PATH to use <version>

nvm ls                             List versions (installed versions are blue)

 

A simple install by downloading and running the nvm-setup.zip. Then simply this simply allows you to switch your Node versions, also the ability to use install commands.

An example of my commands below:

change-to-an-older-version-of-node-2
Go back

How can we help you?

Don’t let your competitors be the only ones to reap the benefits of website personalisation.

Related news & events

See more
Blogs

6 Essential Steps When Getting Started with Composable DXP.

Composable DXP, or Composable Digital Experience Platform, is the buzzword that we seem to be hearing more and more about these days, and for good reason. Below, we break down what it is and the six simple steps for getting... Read more
News

Sitecore awards Sagittarius Platinum Partner Status

Announced today, Industry-leading martech DXP Sitecore has awarded the prestigious Platinum Partner status to Sagittarius as part of Remarkable Group – elevating us and sister company Tanasuk to elite status across the globe. The partnership team at Sitecore lead by Bruce... Read more