#!/bin/bash
# run global update on node-red and esm
sudo npm install -g --unsafe-perm node-red
sudo npm install -g esm
sudo systemctl daemon-reload
sudo systemctl restart node-red