node-red-run/update
2022-01-02 19:21:21 -08:00

6 lines
191 B
Bash
Executable file

#!/bin/bash
# run global update on node-red
sudo systemctl stop nodered
sudo npm install -g --unsafe-perm --prefix /usr node-red
sudo systemctl daemon-reload
sudo systemctl restart node-red