How to run node-red on Alpine Linux


This guide should help anyone to quickly get started with node-red on Alpine.

Assuming you have a running Alpine Linux installation, the following steps are required:

  • Create an "app" user that runs node-red
  • Install the following packets
    • build-base python git
  • Clone the node-red repository as the app user
  • Change to the node-red directory
  • Run npm install
  • Run npm run build

Updating node-red

  • Go to the git repository checkout
  • Git pull the latest code
  • Run npm install
  • Run npm run build
  • Restart the app

Updated by Nico Schottelius almost 5 years ago · 3 revisions