The current install script has done a fair few rounds, so I have had a go at tidying it up somewhat - to get rid of some of the old cruft that had accumulated along the way - and to make it more ready for v5 (ie node 22 onwards) - default to 24 . etc
As it has had a fair few changes I "think" I have tested most of the pathways and platforms - but of course you lot are pretty darn good at finding the flaws... so I'm not going to just replace the old one just yet...
The script did not ask me if I wanted to install Pi specific nodes (I never do since I don't use the GPIO pins on my Pies) but it installed them anyway.
It did not give me the usual advice on securing Node-Red, nor comment about my unencrypted flows_cred.json and non-standard settings.js.
Just before running it I edited the systemd service script but did not run daemon-reload.
The warning about this was included in nodered-install.log but not output to the terminal.
Similarly, the warning about a customised systemd script was only in the logfile (not sure if this is a problem or not)
Correct, it no longer asks about pi nodes.
If it detects it's already running as a service it doesn't do the extra advice piece etc and settings and just restarts the service for less downtime.
No problems with an RPI5, but on RPI4 the node.js version was too low, so couldn't start.
Removed node.js and ran install again, now up and running on both RPI's.
I don't use PI nodes either.