Last active
July 19, 2020 04:41
-
-
Save willwm/cdecee595f8e9d581fdc4920831019fb to your computer and use it in GitHub Desktop.
Fresh Ubuntu install script with NodeJS, Yarn, and Microsoft repositories
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 | |
# Package Source: Microsoft (https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu) | |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list)" | |
sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/18.04/mssql-server.list)" | |
# Update package cache, upgrade all packages... | |
sudo apt update && sudo apt full-upgrade -y | |
# Install: Development Tools... | |
sudo apt install -y build-essential git | |
# Install Node.js via nvm: | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
nvm install node | |
nvm use node | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ported from: https://pastebin.com/UfiNGGwA