I found some problems getting Node-RED running the way I like Linux applications to work, so I determined the following steps to make it happen.
Installing Node-RED on Raspbian for Raspberry PI
Get Node JS installed, on raspian, install nodejs
sudo apt install nodejs sudo apt install npm sudo npm install -g npm
Install Node-RED using NPM
sudo npm install -g --unsafe-perm node-red
Auto Start Node-Red on boot
sudo wget https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/nodered.service -O /lib/systemd/system/nodered.service sudo wget https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/node-red-start -O /usr/bin/node-red-start sudo wget https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/node-red-stop -O /usr/bin/node-red-stop sudo chmod +x /usr/bin/node-red-st* sudo systemctl daemon-reload sudo systemctl enable nodered.service
Recent Comments