How would I go about undoing everything the script did? I just got through spending several days working on my Pi setup and I'd currently like nothing more than to clean it back up until I'm ready to give this whole thing another try in the future. Thanks in advance!
Thanks for the quick reply!
I've run each of these commands and removed the systemd startup script, however I can still issue the node-red-start and node-red-stop commands, albeit with errors. Any idea what's lingering around that'd still allow them to function?
If you ran Dave's script to install, the best thing to do will be to work backwards through the script so that you see what to uninstall. I don't use the script so I'd forgotten about the start and stop commands, they need removing too of course.
The command which node-red-start
will tell you where they are so you can delete them. Not sure of the point of all this however. Why does it matter? Especially if you are going to try again at some point.
we add those helper scripts into /usr/bin - go in there and delete anything node-red*
You can also check /usr/lib/node_modules - may be some remnants in there - If you aren't using any other nodejs app you can safely delete them as well.
If you have run it - there will also be your own ~/.node-red directory which contains any flows you have created so far. - Up to you if you want to delete them or leave them for next time.