This commit is contained in:
root 2020-11-05 00:27:01 +01:00
parent bcd52055e7
commit ff9d16abb5
6 changed files with 9 additions and 17 deletions

9
install-node.sh Executable file
View file

@ -0,0 +1,9 @@
# install node
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
apt update -y
apt install nodejs -y
node --version
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn