Jedsada Srijunpoe

« Home

Install/run Node-RED using Linux

Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.

It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.


Node-RED Installation on Ubuntu

Install curl and Node (v16.x)

$ sudo apt install -y curl

nodered-install-1

$ curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -

nodered-install-2

$ sudo apt install -y nodejs

nodered-install-3


Install Node-RED locally

$ sudo npm install -g --unsafe-perm node-red

nodered-install-4

$ node-red

nodered-install-5

Open in the browser: http://127.0.0.1:1880/

mynodered1