Alternate-node-red-installer => Now @totallyinformation/nrinstall with upgrade

Hi all,

Not everyone will be aware of my alternate, cross-platform installer for Node-RED.

https://www.npmjs.com/package/@totallyinformation/nrinstall

It used to be called alternate-node-red-installer with a local alias of nrinstall. Well, now you no longer need to install it, you can run it with npx on any platform:

npx @totallyinformation/nrinstall -f <root folder name>

e.g.

mkdir ~/nrtest
npx nrinstall -f ~/nrtest

If you do choose to install it locally, you can simply run it as:

nrinstall -f <root folder name>

Not as comprehensive as Dave's install script but it is cross-platform and installs Node-RED as a standard folder install instead of globally. As such it does not need admin rights. It also puts the userDir folder as a sub-folder (./data) which makes everything very easy to back up or transfer as needed.

Other advantages are an enhanced example settings.js file, an example systemd script and some other info and utilities.

In addition, installing this way lets you have multiple different releases of Node-RED running in parallel. Great for testing, especially new versions of Node-RED. Each install is completely isolated from other installs.

If you've used the old version of this tool, please remove it and use the new version as it has bug-fixes, updated dependencies and is easier to use.

3 Likes

Julian is not missing work at all! :laughing:

3 Likes

As predicted! :smiley:

2 Likes