From 6535ac0ac51e1831062680481f553e64b01aa779 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 23 Nov 2021 07:38:19 -0300 Subject: [PATCH] Update chapter-06-gbapp-reference.md --- book/chapter-06-gbapp-reference.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/book/chapter-06-gbapp-reference.md b/book/chapter-06-gbapp-reference.md index a3f8e49b..a909ddcb 100644 --- a/book/chapter-06-gbapp-reference.md +++ b/book/chapter-06-gbapp-reference.md @@ -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,13 +59,17 @@ 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 -node -v +# 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 ``` ### Commands to check version of Node.js and NPM.