But it begs the question - for me - is there one (note: ONE) command?
I've seen posts but it is a heap of commands entered one after the other.
Which seems strange if it is done for the RasPi, there isn't one for Ubuntu.
Oh, the commands I see are also (I believe) dated as they point to old versions.
Or it is implied it is for older versions, so those commands are really specific for that version and can't be used for subsequent updates.
me@me-desktop:~$ cd .node-red
me@me-desktop:~/.node-red$ bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
**************************************************************************************************
The command that got you this script has been updated.
Please use the following version:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
See https://github.com/node-red/linux-installers for details.
Thank you.
**************************************************************************************************
[sudo] password for me:
rm: cannot remove '/usr/bin/update-nodejs-and-nodered': No such file or directory
me@me-desktop:~/.node-red$
(Sorry, I just got back from 2 weeks away and still not up to speed.)
What is the link I use to submit the problem?
Every server is different and many requirements are different so there can never be "one script to rule them all".
In any case, installing Node-RED is just npm install -g node-red --production --unsafe-perm. Everything else is about dependencies which may already be present anyway.
That command works on EVERY platform that supports Node-RED. As long as Node.js is installed in a standard way.
One of the reasons for Dave's script was that Rasbian did not have a standard Node.js installation for some time - I actually don't know if it does even today since I always use the Node.js recommended library.