docs: update instructions for installing Node.js

This commit is contained in:
Starbeamrainbowlabs 2020-12-12 13:06:33 +00:00
parent 7f73ae995a
commit d61bf02da7
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -164,13 +164,13 @@ sudo mysql
**username** and **password** will be your dbUser and dbPassword which you need to access the database and
place in the settings files for dbLoader.py and the Air Quality Map.
## Update Node-Red & NPM
## Update Node & NPM
```
cd $HOME;
curl -OL https://gitlab.com/sbrl/bin/raw/master/node-update;
chmod +x node-update;
./node-update
echo "deb https://apt.starbeamrainbowlabs.com/ ./ # apt.starbeamrainbowlabs.com" | sudo tee /etc/apt/sources.list.d/sbrl.list
sudo curl -sSL https://apt.starbeamrainbowlabs.com/aptosaurus.asc -o /etc/apt/trusted.gpg.d/sbrl-aptosaurus.asc;
sudo apt update
sudo apt install nodejs-sbrl
```