File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,20 @@ previous stage.
62
62
63
63
Once logged in you need to install node.js and Node-RED
64
64
65
+ sudo add-apt-repository -y -r ppa:chris-lea/node.js
66
+ sudo rm -f /etc/apt/sources.list.d/chris-lea-node_js-*.list
67
+ sudo rm -f /etc/apt/sources.list.d/chris-lea-node_js-*.list.save
68
+
69
+
70
+ curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
71
+
72
+ DISTRO="$(lsb_release -s -c)"
73
+ echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list
74
+ echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list
75
+
76
+ sudo apt-get update
77
+ sudo apt-get install nodejs
78
+
65
79
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
66
80
sudo apt-get install -y nodejs build-essential
67
81
sudo npm install -g node-red
You can’t perform that action at this time.
0 commit comments