# Node-RED

> Low-code, flow-based programming for event-driven and IoT applications

- Category: App UIs & Builders / Low-Code & No-Code Builders
- Language: JavaScript
- Licence: Apache-2.0
- Repository: https://github.com/node-red/node-red
- Website: https://nodered.org
- Canonical page: https://ai-tldr.dev/tools/node-red/

## In short

Node-RED is an open-source tool for building event-driven applications by wiring together blocks called nodes in a visual editor that runs in your browser. Instead of writing all the glue code by hand, you drag nodes onto a canvas and connect them to define how messages flow between hardware devices, APIs, and online services. It sits in the Low-Code & No-Code Builders category of the App UIs & Builders tools and is open-source, written in JavaScript and licensed Apache-2.0.

## Overview

Node-RED is an open-source tool for building event-driven applications by wiring together blocks called nodes in a visual editor that runs in your browser. Instead of writing all the glue code by hand, you drag nodes onto a canvas and connect them to define how messages flow between hardware devices, APIs, and online services.

It targets developers, makers, and integrators who need to connect systems quickly, and it is widely used for IoT and event-driven automation. The flows you build run on top of Node.js, and you can drop into JavaScript inside function nodes when you need custom logic.

As a low-code / no-code builder, Node-RED sits between full hand-written code and closed automation platforms. A large library of community nodes and shareable flows lets you extend the palette and reuse patterns instead of starting from scratch.

## What it does

- Browser-based visual editor for wiring nodes into flows
- Built on Node.js, with function nodes for custom JavaScript logic
- Large community library of custom nodes and shareable flows at flows.nodered.org
- Well-suited to IoT, hardware, API, and online-service integration
- Runs locally, on servers, or on small devices like single-board computers
- Open-source under the Apache 2.0 license, maintained by the OpenJS Foundation

## Getting started

Install Node-RED globally with npm, start it, and open the editor in your browser. See https://nodered.org/docs/getting-started/ for full instructions.

1. Install Node-RED

   Install the package globally using npm.

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

2. Start Node-RED

   Run the node-red command to start the runtime and editor.

```bash
node-red
```

3. Open the editor

   Open the visual flow editor in your browser, then drag and connect nodes to build a flow.

```text
http://localhost:1880
```

## When to use it

- Wiring IoT sensors and hardware devices to dashboards or alerts
- Connecting APIs and online services together without writing all the glue code
- Building event-driven automations that react to incoming messages
- Prototyping integrations quickly before committing to a full code implementation
