8 lines
236 B
Plaintext
8 lines
236 B
Plaintext
|
#!/bin/bash
|
||
|
# run global update on node-red
|
||
|
sudo systemctl stop nodered
|
||
|
sudo npm uninstall -g --prefix /usr node-red
|
||
|
sudo npm install -g --unsafe-perm --prefix /usr node-red
|
||
|
sudo systemctl daemon-reload
|
||
|
sudo systemctl restart node-red
|