node-red-run/update

7 lines
180 B
Plaintext
Raw Normal View History

2020-07-02 15:38:21 -07:00
#!/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