[1: Recommended] for 64-bit only. Raspberry OS 32-bit is already coming with Node-Red pre-installed
you will get:
- node.js and npm installed (LTS version)
- pigpio module
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)