#0 How to install Node-RED

Node-RED is an open-source programming tool, based in NodeJS, to develop applications in order to interact with different hardware's. Also, Node-RED provides a browser editor that makes it easier to program and configure your own applications.    

See more information about Node-RED in the official website:

How to install Node-RED

The first step of this course will be how to install Node-RED on your personal computer. Before installing Node-RED, we must install Node.js and npm.

You may need to run:

sudo apt install build-essential git curl 

First to ensure npm is able to fetch and build any binary modules it needs to install.

At the Node-RED website, there is provided a script to install Node.js, npm and Node-RED, that works on any Debian-based operating system, including Ubuntu and Diet-Pi. The script can also be used to upgrade an existing install when a new release is available:

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Running the command above will download and run the script. If you want to review the contents of the script first, you can view it on Github:


Windows OS

Type to the command prompt:

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

Type to command line:

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

Take a look on the official installation guide to know more details: 

Once you have installed the Node-RED you are able to proceed with the next chapter of the course.

2178 Total Views
299 Members Views
1879 Public Views
Share on Social Networks
Share Link
Use permanent link to share in social media
Share by mail

Please login to share this webpage by email.