Skip to content

Instantly share code, notes, and snippets.

@tschoonover
Last active June 6, 2019 07:52
Show Gist options
  • Save tschoonover/274627440d11ff32c2cd91a9d16a4974 to your computer and use it in GitHub Desktop.
Save tschoonover/274627440d11ff32c2cd91a9d16a4974 to your computer and use it in GitHub Desktop.
Install .NET Core 1.1 and VS Code with C# extension for Linux Mint 18 / Ubuntu 16.04 (amd64)
#!/bin/bash
#dotnet
sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
apt-get update
apt-get install dotnet-dev-1.0.0-preview2.1-003177
#vscode
wget "https://go.microsoft.com/fwlink/?LinkID=760868" -qO /tmp/vscode.deb && dpkg -i /tmp/vscode.deb
code --install-extension ms-vscode.csharp
#node and npm
apt-get install nodejs nodejs-legacy npm
npm install npm@latest -g
#yeoman
npm install -g yo
npm install -g generator-aspnet
@Steven-Harris
Copy link

Pretty cool!

@kimcuhoang
Copy link

It helps me reduce more steps.

Thanks.

@contropist
Copy link

Thanks a lot!

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