To upgrade NR from 2 to 3 to test the MATTER node I used the script.
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
Of course it left my nodejs at 14 which is too old for the MATTER node - I noted this...
There are extra parameters you can pass to the script. Add –help
to the end of the above command to see them.
Except that the result of putting -help on the end (after a space) was:
Error: Unsupported flag -help
Turns out it should be --help.