Install OS on pi using Raspberry Pi Imager
sudo apt update
Install Node Red
sudo apt update
sudo apt upgrade
sudo apt install build-essential
https://pimylifeup.com/node-red-raspberry-pi/Â
command to install node red
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
Start on boot
sudo systemctl enable nodered