Skip to content

Instantly share code, notes, and snippets.

@asksven
Last active February 27, 2017 11:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save asksven/8a00af6201a52436c4f2d91083aca1fc to your computer and use it in GitHub Desktop.
Setup Windows 10 ubuntu subsystem
sudo apt-get update && sudo apt-get upgrade
# we want to use nodejs 6
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y git nodejs-legacy npm
npm config set unsafe-perm true
sudo npm install -g @angular/cli # note: the angular-cli crashes at creating projects with "ng new" so you will have to manually run "npm install" after the project has been created
#add docker client (to be run against e.g. Docker for windows)
sudo apt-get install -y docker.io
echo DOCKER_HOST=localhost:2375 >> ~./.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment