diff --git a/HowtoNodeJS.md b/HowtoNodeJS.md index c871a5df..1068ffb1 100644 --- a/HowtoNodeJS.md +++ b/HowtoNodeJS.md @@ -15,8 +15,7 @@ Nous préconisons l'installation des paquets Debian distribués par NodeSource ( ~~~ # echo "deb http://deb.nodesource.com/node_8.x stretch main" >> /etc/apt/sources.list.d/nodesource.list # wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O - | apt-key add - -# apt update -# apt install nodejs +# apt update && apt install nodejs $ nodejs -v v8.9.4 @@ -90,8 +89,8 @@ Installation par NPM : Installation via un paquet Debian : ~~~ +# echo "deb http://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list # wget -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - -# echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list # apt update && apt install yarn ~~~