node-red-run/update

7 lines
191 B
Plaintext
Raw Normal View History

2020-07-02 15:38:21 -07:00
#!/bin/bash
# run global update on node-red
sudo systemctl stop nodered
sudo npm install -g --unsafe-perm --prefix /usr node-red
2020-07-02 15:38:21 -07:00
sudo systemctl daemon-reload
sudo systemctl restart node-red