node-red-run/update

7 lines
180 B
Bash
Executable File

#!/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