Multiple NodeRed Instances on different Ports - Linux/SystemD

run npm list node-red and npm list -g node-red to see what it is running and where it is.

Might be something you already did but typically global node removal commands need to be run as root/with sudo (sudo npm remove -g node-red).

1 Like

Thank you but sorry non the wiser:
npm list node-red
/home/pi
|
----- node-red@1.0.4

pi@control0:~ $ npm list -g node-red
/home/pi/.config/nvm/versions/node/v8.15.1/lib
|
------ (empty)

That just removed all instances of NR.

Just a quick add. I have an alternate installer on my GitHub that focusses on independent, local installs of Node-RED so that you can install whatever version you like and run them independently. Even if you don't use the repo, the ideas may be of help.

Looks like you have another copy installed into your home folder. Check for a node_modules folder there and remove it if there is nothing you want in it.

It should remove the global/system wide installed one. I don't think there can be more than one. On a Pi the global modules dir is typically /usr/lib/node_modules. If you install another version with the -g flag, it will first uninstall any previous version.