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) ### Linux (Ubuntu)
Visual Studio Code
``` ```
sudo apt update sudo apt update
sudo apt install software-properties-common apt-transport-https wget sudo apt install software-properties-common apt-transport-https wget
@ -58,13 +59,17 @@ sudo apt update
sudo apt install code sudo apt install code
``` ```
NOde JS 14
``` ```
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - # Using Ubuntu
$ cat /etc/apt/sources.list.d/nodesource.list curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
deb https://deb.nodesource.com/node_14.x focal main sudo apt-get install -y nodejs
deb-src https://deb.nodesource.com/node_14.x focal main
sudo apt -y install nodejs # Using Debian, as root
node -v curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs
node -v
``` ```
### Commands to check version of Node.js and NPM. ### Commands to check version of Node.js and NPM.