Created
February 19, 2019 23:20
-
-
Save RickyVaughn2/58deb37e7ca789bb216fbc30949b1bd9 to your computer and use it in GitHub Desktop.
basic nr
This file contains hidden or 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 install curl | |
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
sudo npm install -g --unsafe-perm node-red | |
sudo npm install -g node-red-admin | |
sudo npm install -g pm2 | |
pm2 start /usr/bin/node-red -- -v | |
pm2 save | |
pm2 startup | |
#sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u ubuntu --hp /home/ubuntu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment