How to Install and Run Red Node on Windows in Minutes
How to Download and Install Node-RED on Windows
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 create flows using the wide range of nodes in the palette. In this article, you will learn how to download and install Node-RED on Windows, as well as how to use it for various applications.
download red node
What is Node-RED and why use it?
Node-RED enables users to stitch together web services and hardware by replacing common low-level coding tasks with a visual drag-drop interface.
Node-REDs power lies in its ease of use. You can create complex applications with minimal coding, using nodes that have predefined functionality and configuration.
Node-RED supports browser-based flow editing, which means you can access and edit your flows from anywhere using a web browser.
Node-RED has an active community and a rich library of nodes and flows that cover many common use cases. You can also create and publish your own nodes to extend the palette.
Node-RED features and benefits
Some of the main features of Node-RED are:
NodesThe building blocks of a flow. Nodes have inputs, outputs, properties, and icons. They can represent hardware devices, web services, APIs, logic operations, data transformations, etc.
FlowsA collection of nodes that are connected together to perform a task or an application. Flows are stored using JSON format and can be easily imported and exported.
DashboardA set of nodes that allow you to create user interfaces for your flows. You can create buttons, sliders, charts, gauges, forms, etc., and display them in a web browser.
ProjectsA feature that allows you to manage your flows as version-controlled projects. You can also integrate your projects with Git repositories for backup and collaboration.
Node-RED use cases and examples
Node-RED can be used for a variety of applications, such as:
IOT: You can connect sensors, actuators, cameras, etc., to Node-RED and create flows that process data from them or control them remotely.
Data analysis: You can use Node-RED to collect data from various sources, such as databases, APIs, web services, - social media, etc., and perform analysis, visualization, or machine learning on them.
Automation: You can use Node-RED to automate tasks, such as sending emails, notifications, alerts, etc., based on certain triggers or conditions.
Web development: You can use Node-RED to create web applications, such as chatbots, APIs, webhooks, etc., using the HTTP nodes and the dashboard nodes.
And more: You can use Node-RED for anything that involves connecting and processing data from different sources and services.
Some examples of Node-RED flows are:
A flow that monitors the temperature and humidity of a room using a Raspberry Pi and a DHT11 sensor, and displays the data on a dashboard.
A flow that uses the IBM Watson Text to Speech service to convert text messages into audio files and play them on a speaker.
A flow that uses the Google Maps API to get the distance and travel time between two locations and display them on a map.
A flow that uses the Twitter API to search for tweets containing a keyword and display them on a dashboard.
A flow that uses the Spotify API to control the playback of music on a device.
How to install Node.js and npm on Windows
Before you can install Node-RED, you need to have Node.js and npm (Node Package Manager) installed on your Windows machine. Node.js is the runtime environment that Node-RED runs on, and npm is the tool that manages the installation of Node-RED and other modules. Here are the steps to install them:
Download and run the Node.js installer
Go to the official Node.js website and download the installer for Windows. Choose the LTS (Long Term Support) version, which is more stable and reliable than the current version. Run the installer and follow the instructions. The installer will also install npm along with Node.js.
Verify the installation
To verify that Node.js and npm are installed correctly, open a command prompt and type:
How to download and install Node-RED on Windows 10
Download Node-RED for Raspberry Pi and create IoT projects
Node-RED Docker image download and setup guide
Download Node-RED from GitHub and build from source
Download Node-RED for Android using Termux
Node-RED tutorial: how to download and use nodes from the palette
Download Node-RED flows and import them into your editor
How to download and run Node-RED on AWS
Download Node-RED for Microsoft Azure and deploy your flows
Node-RED FlowForge: download and run a multi tenant Node-RED solution
How to download and update Node-RED to the latest version
Download Node-RED for BeagleBone boards and start wiring devices
Node-RED cookbook: download and try out recipes for common tasks
Download Node-RED nodes for IBM Cloud services and applications
How to download and configure Node-RED settings file
Download Node-RED nodes for MQTT and connect to brokers
How to download and use Node-RED Dashboard to create UIs
Download Node-RED nodes for Twitter and interact with the API
How to download and secure Node-RED with HTTPS and authentication
Download Node-RED nodes for Google Cloud Platform and access its features
node -v npm -v
You should see the version numbers of Node.js and npm displayed. If you see any errors, try reinstalling or updating them.
How to install Node-RED as a global module
Once you have Node.js and npm installed, you can install Node-RED as a global module using npm. A global module is a module that is available to all projects on your machine. Here are the steps to install Node-RED as a global module:
Use npm command to install Node-RED
Open a command prompt and type:
npm install -g --unsafe-perm node-red
This will download and install Node-RED and its dependencies. The --unsafe-perm flag is needed to avoid permission issues on Windows. You may see some warnings or errors during the installation, but they are usually harmless. If the installation is successful, you should see something like this:
+ email@example.com added 362 packages from 331 contributors in 67.812s
Run Node-RED by typing node-red in the command prompt
To start Node-RED, open a command prompt and type:
You should see something like this:
Welcome to Node-RED =================== 21 Jun 11:57:42 - [info] Node-RED version: v2.1.4 21 Jun 11:57:42 - [info] Node.js version: v14.18.1 21 Jun 11:57:42 - [info] Windows_NT 10.0.19043 x64 LE 21 Jun 11:57:43 - [info] Loading palette nodes 21 Jun 11:57:45 - [info] Dashboard version 3.1.1 started at /ui 21 Jun 11:57:45 - [info] Settings file : \Users\user\.node-red\settings.js 21 Jun 11:57:45 - [info] Context store : 'default' [module=memory] 21 Jun 11:57:45 - [info] User directory : \Users\user\.node-red 21 Jun 11:57:45 - [warn] Projects disabled : editorTheme.projects.enabled=false 21 Jun 11:57:45 - [info] Server now running at 21 Jun 11:57:45 - [info] Starting flows 21 Jun 11:57:45 - [info] Started flows
This means that Node-RED is running and listening on port 1880.
How to access the Node-RED editor and dashboard
Now that you have Node-RED installed and running, you can access the Node-RED editor and dashboard using a web browser. The Node-RED editor is where you create and edit your flows, and the Node-RED dashboard is where you view and interact with your user interfaces.
Open a web browser and go to
Open your preferred web browser and type in the address bar. You should see the Node-RED editor, which looks something like this:
The Node-RED editor consists of three main parts:
The palette on the left, which contains the nodes that you can use in your flows.
The workspace in the center, which is where you drag and drop nodes and wire them together.
The sidebar on the right, which has tabs for info, debug, config, dashboard, and context.
Explore the palette, workspace, and sidebar
You can explore the palette by scrolling through it or using the search box at the top. You can also filter the nodes by category using the drop-down menu at the bottom. You can drag and drop nodes from the palette to the workspace to add them to your flow. You can also double-click on a node to edit its properties or delete it by pressing the delete key.
You can explore the workspace by zooming in and out using the mouse wheel or the buttons at the top right corner. You can also pan around by clicking and dragging on an empty space. You can select multiple nodes by holding down the shift key an