Skip to content

Instantly share code, notes, and snippets.

@willwm
Last active July 19, 2020 04:41
Show Gist options
  • Save willwm/cdecee595f8e9d581fdc4920831019fb to your computer and use it in GitHub Desktop.
Save willwm/cdecee595f8e9d581fdc4920831019fb to your computer and use it in GitHub Desktop.
Fresh Ubuntu install script with NodeJS, Yarn, and Microsoft repositories
#!/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
@willwm
Copy link
Author

willwm commented Jun 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment