I’m off to take notes on how to install Node-RED on Ubuntu.
Step1
Of course, Update & Upgrade OS.
$ sudo apt-get update $ sudo apt-get upgrade -y |
Step2
Next, install Node.js and make sure you put it in properly.
$ sudo apt-get install nodejs $ node -v |
This is the version that Supports Node.js.
https://nodered.org/docs/faq/node-versions
Step3
Install Node-RED.
$ sudo npm install -g –unsafe-perm node-red node-red-admin |
Step4
Use this command to allow port 1880 in your OS.
sudo ufw allow 1880 |
Step5
Start Node-RED.
$ node-red |
After starting, start Firefox, etc., access localhost:1880, and if you see a screen like this, the installation is finished!