Ver código fonte

works better

master
ddp 3 anos atrás
pai
commit
265c3bee9a
1 arquivos alterados com 7 adições e 2 exclusões
  1. +7
    -2
      installnodejs.txt

+ 7
- 2
installnodejs.txt Ver arquivo

@@ -1,2 +1,7 @@
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install curl
sudo apt-get remove nodejs npm ## remove existing nodejs and npm packages
# Using Ubuntu
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

Carregando…
Cancelar
Salvar