Table of Contents

🚀 Installing Node-RED on Raspberry Pi

Node-RED is a powerful flow-based development tool for visual programming, ideal for IoT and automation projects. This guide walks you through installing Node-RED on a Raspberry Pi running Raspberry Pi OS.

🧰 Requirements

📦 Installation Steps

🔄 1. Update Your System

Keep your system up to date before installing:

sudo apt update && sudo apt upgrade -y

📥 2. Run the Official Install Script

Use the Node-RED team's optimized installer:

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

This script will:

👤 3. Add Your User to Node-RED Group

To manage the Node-RED service:

sudo usermod -aG node-red pi

Replace `pi` with your actual username if different.

▶️ 4. Enable and Start Node-RED

sudo systemctl enable nodered.service
sudo systemctl start nodered.service

🌐 5. Access the Node-RED Editor

Open your browser and go to:

http://<your-pi-ip>:1880

You should see the Node-RED flow editor.

🛠️ Troubleshooting

📚 Resources

Code / Projects / Flows

Coming soon