Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save scargill/9d5760c8d920cc316388726238ae3032 to your computer and use it in GitHub Desktop.
Save scargill/9d5760c8d920cc316388726238ae3032 to your computer and use it in GitHub Desktop.
Full automatic update of a Debian/Ubuntu Node-Red server
sudo apt-get -qq update
sudo apt-get -y -qq upgrade
sudo apt-get -y -qq dist-upgrade
sudo npm -s cache clean
sudo npm -s update -g --unsafe-perm node-red
cd ~/.node-red
# npm outdated
npm -s update
npm -s rebuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment