Forked from fragolinux/full-update-node-red-server
Created
December 28, 2016 23:01
-
-
Save scargill/9d5760c8d920cc316388726238ae3032 to your computer and use it in GitHub Desktop.
Full automatic update of a Debian/Ubuntu Node-Red server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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