Created
August 10, 2020 21:28
-
-
Save kenotron/8536c851331411e9850c5fdf74303579 to your computer and use it in GitHub Desktop.
New VM with node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
nvm install --lts | |
npm install -g yarn | |
sudo apt-get update | |
sudo apt-get install -y libappindicator1 fonts-liberation build-essential | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome*.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment