I've recently learnt how to run Node-red on Intel Edison following attending one of the Intel Edison workshop hosted by the folks at IBM Bluemix (Twitter: #BluemixIoTWorkshop hosted by @IICHursley).

This Instructable aims to capture some of the main steps to get Node-red installed on the Intel Edison device - so that going forward whenever you power up your Edison kit, Node-red is run automatically - and you are able to access Node-red via a URL like this:


(Replace edison-device-name with your edison name)


  • Have gone through the basic Intel Edison Get Started Steps. In particular:
    • Knowledge of connecting to Intel Edison via a serial USB and be able to login as root.
    • Intel Edison board is already flashed.
    • Intel Edison has been connected to internet via Wifi.

Step 1: Install Node-red and Pm2

Issues the following commands to install node-red and pm2.

npm install -g --unsafe-perm node-red
npm install -g --unsafe-perm pm2

Step 2: Start Node-RED

Start Node-RED using pm2 by entering the following command:

pm2 start /usr/bin/node-red --node-args="--max-old-space-size=256"

Now you can access Node-RED on edison like this:


(replace edison-device-name with your edison name)



Step 3: Install Node-red-node-intel-gpio

You'd need the Node-RED node called intel-gpio to enable Node-RED to talk with your Arduino pins.

Run this command to install node-red-node-intel-gpio

cd ~/.node-red
npm install node-red-node-intel-gpio

Step 4: Restart Node-RED

To see the new nodes in the flow editor pallet you need to restart Node-Red

pm2 restart node-red

Wait a few seconds then refresh your browser and you will now see additional nodes. There is now a set of nodes to access GPIO on the Edison board.

Step 5: Make Node-RED to Auto Start on Intel Edison

o get the Node-RED to autostart with the Edison board issue the following commands

mkdir /etc/init.d
pm2 save pm2 startup

Now, whenever the Intel Edison is powered up, Node-RED should just get started automatically.

<p>Welcome to Instructables. Thanks for sharing this great Edison tutorial.</p>

About This Instructable




Bio: Full-stack Developer - experimenting with Internet-of-Things (IoT) and Intel Edison. Upgrading my JavaScripts/NodeJS skills via FreeCodeCamp and the web. Danced with Python, R, SAS, and ... More »
More by Atlas7:Two-way Remote Intel Edison Buzzer Install Node-RED on Intel Edison 
Add instructable to: