Update chapter-06-gbapp-reference.md

This commit is contained in:
Rodrigo Rodriguez 2021-11-23 07:38:19 -03:00 committed by GitHub
parent 3faeeb184a
commit 6535ac0ac5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,7 @@ cd BotServer
### Linux (Ubuntu)
Visual Studio Code
```
sudo apt update
sudo apt install software-properties-common apt-transport-https wget
@ -58,12 +59,16 @@ sudo apt update
sudo apt install code
```
NOde JS 14
```
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
$ cat /etc/apt/sources.list.d/nodesource.list
deb https://deb.nodesource.com/node_14.x focal main
deb-src https://deb.nodesource.com/node_14.x focal main
sudo apt -y install nodejs
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
# Using Debian, as root
curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs
node -v
```