Install older version/specific version of a node-red node?

Sometimes its necessary to downgrade a node version or install a specific version and you may not have shell or may not want to add shell to your groov device just to do this Node-RED node version change.

Good news. If you are running Node-RED version 1.2 or newer (ie, anything since August 2020) you can install specific versions of a node right from the manage pallet interface.

First, you need to get the node version you want.
You can look at the npm page and find older versions there.

Here is an example:

Once you click on the versions you will see the list of old ones, take a note and then make the registry URL following this example: Take the name, then the version and paste it into your URL bar or word editor. Once you have it assembled, put it in your web browser on your computer and download the file.
Keep a note of where it is saved to.

https://registry.npmjs.org/node-red-contrib-mssql-plus/-/node-red-contrib-mssql-plus-0.5.1.tgz

Once you have the node package downloaded, go to your Node-RED on your groov device and click on the burger menu, then ‘Manage Pallet’, then click install, lastly click the upload module icon.

That will open your usual file browser dialog, navigate to where you saved the file, then select it and upload the node package.

That should load that exact version of the node you need, all without shell.

5 Likes