Home / Setup Guides / Raspberry Pi Zero 2 W

Node-RED on Raspberry Pi Zero 2 W - Alexa Setup Guide

Run Node-RED on the compact Raspberry Pi Zero 2 W. With only 512MB RAM, this board is best for lightweight flows and headless operation. Budget-friendly option for simple Alexa automations.

Requirements

Min RAM 512MB (all available)
Min Storage 8GB microSD minimum (16GB recommended)
OS Raspberry Pi OS Lite (Bookworm) 32-bit
Node.js 18.x LTS
  • Raspberry Pi Zero 2 W
  • 5V 2.5A micro-USB power supply
  • Network access via built-in Wi-Fi
  • Headless setup recommended to conserve RAM

Installation

Official Script ~20-30 minutes
  1. 1 Flash Raspberry Pi OS Lite (32-bit) to a microSD card using Raspberry Pi Imager
  2. 2 Enable SSH and configure Wi-Fi in Imager settings before flashing
  3. 3 Boot the Pi Zero 2 W and connect via SSH
  4. 4 Run the official install script: bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
  5. 5 Enable Node-RED to start on boot: sudo systemctl enable nodered
  6. 6 Start Node-RED: sudo systemctl start nodered
  7. 7 Access Node-RED at http://your-pi-ip:1880
  8. 8 Install Alexa integration node via the palette manager inside Node-RED
Official documentation →

Alexa Integration

The Pi Zero 2 W works for basic Node-RED Alexa setups but the 512MB RAM is limiting. Avoid installing too many nodes or running complex flows. Cloud-based Alexa nodes are preferred as they offload processing. Consider a swap file for stability.

node-red-contrib-dulonode

Works on Pi Zero 2 W, keep flows lightweight

Works

node-red-contrib-alexa-home-skill

Cloud-based, works without extra configuration

Works

node-red-contrib-virtual-smart-home

Cloud-based, works without extra configuration

Works

node-red-contrib-amazon-echo

Works natively on the local network

Works

node-red-contrib-wemo-emulator

Works natively on the local network

Works

node-red-contrib-alexa-remote2-applestrudel

Functional but may be resource-heavy on 512MB RAM

Works

node-red-contrib-alexa-notifyme

Cloud-based, lightweight, works well on Pi Zero 2 W

Works

Looking for an Alexa integration node?

There are several Node-RED nodes that support all devices devices with Alexa. Compare features, setup difficulty, and pricing to find the right fit.

Compare Nodes

Platform Info

Platform
Raspberry Pi Zero 2 W
Category
single board
Install Method
Official Script
Recommended Node
node-red-contrib-dulonode

Not sure which node to pick?

See the most downloaded Node-RED Alexa nodes in 2026, ranked by real npm stats. Find the right fit for your smart home setup.

View Top Nodes 2026