How to Run Node-RED on BBB Startup

Home > Guides

Steps:

1.Install

    • PM2 if not already installed.

2. Start Node-RED using PM2:

sudo pm2 start node-RED

3. Check that PM2 is running Node-RED:

sudo pm2 list

4. Save the PM2 configuration:

sudo pm2 Save
or
sudo pm2 save -u sudo

References: