How to install Node-Red on Linux ARM based SBC ARMxy?
By Jerry ChenMay 7th, 2025618 views
This article uses ARMxy Based SBC BL410 as an example to show how to successfully install Node-Red on ARMxy SBC BL410 and run it.
Download the environment from Node.js
Enter the node.js official website
Click Download in the navigation bar to download the node.js version we need.
Click the selection box behind Get Node.js® and select the version we need to download. Here we choose v20.19.1 (LTS)
We install it through the binary package. We select the Linux version below the instruction installation box. Because BL410 is the ARM64 version, we select the corresponding version and click Standalone Binary (.xz) to download the binary package.
Unzip the environment package
Use a USB flash drive to copy the installation package to the device. There is a script in BL410 that automatically mounts the USB flash drive. We use ls to view the installation package in the USB flash drive.
create a Node folder in the root directory in advance, and use cp node-v20.19.1-linux-arm64.tar.xz /Node/ to copy the node.js installation package to the Node folder
Enter tar -xvJf node-v20.19.1-linux-arm64.tar.xz to decompress the installation package.
Link operating environment
The unzipped installation package will generate a node-v20.19.1-linux-arm64 folder in the /Node folder
Enter cd node-v20.19.1-linux-arm64/bin to enter the bin folder. At this time, we can see four files, namely corepack node npm npx
Use ln -sf to create link files ln -sf /Node/node-v20.19.1-linux-arm64/bin/node /usr/bin/ and ln -sf /Node/node-v20.19.1-linux-arm64/bin/npx /usr/bin/ and ln -sf /Node/node-v20.19.1-linux-arm64/bin/npx /usr/bin/
Enter node -v and npm -v to verify whether the node.js and npm package management tools are installed successfully. The version number indicates that the installation is complete.
Install Node-Red
Use the command npm install -g --unsafe-perm node-red to install node-red.
Run Node-Red
After node-red is installed, enter ls and we can view the node-red file
Use ln -sf /Node/node-v20.19.1-linux-arm64/bin/node-red /usr/bin/ to create a link
Enter node-red to verify the software installation environment.
Using node-red
Open the browser and enter the device IP + 1880 in the browser address bar to access
When the browser now opens Node-red, the installation is complete.
ARMxy series ARM Based SBC is very suitable for installing Node-Red for visual programming and applied in industrial automation, industrial Internet of Things, smart city and other application scenarios. In addition, the ARMxy series supports optional processors, SOM, IO modules, and is more flexible for different solutions.