Install NodeJS, NPM and Node-RED on Raspberry Pi OS Lite 64-bit

Chelaru Adrian
3 min readApr 5, 2022

Raspberry Pi is a great device to keep your Node-RED server running as it consumes little power and runs it fine, even gives you the possibility to control GPIO and that’s something you might want if you plan to control different things like relays, LED, motors or even more complex applications.

Let’s start with a minimal setup and check

You will need a:

While Node-RED works fine on the 32-bit OS, you might want to squeeze every bit of performance you can from it.

Initialize Raspberry Pi for this task

Power up and connect to the Raspberry Pi using SSH as shown in this guide or do things directly using a screen and a keyboard.

Logged into Raspberry Pi OS console using Windows Terminal

Prepare the ground for Node-RED

First, you need to install NodeJS and NPM in order to run Node-RED as it depends on them:

1. Update local package list:

sudo apt-get update

2. Install NodeJS and NPM:

sudo apt-get install -y nodejs npm

--

--

Chelaru Adrian
Chelaru Adrian

Written by Chelaru Adrian

💻 Hey, I'm here to share my passion for tech! 🚩 Follow me on Medium for exciting new ideas and innovative solutions.