node-red-run/update
2020-07-02 17:05:58 -07:00

6 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