Last active
June 6, 2019 07:52
-
-
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)
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 | |
#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 |
Pretty cool!
It helps me reduce more steps.
Thanks.
Thanks a lot!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Installs a web development environment for Linux Mint 18 / Ubuntu 16.04 consisting of the following tools.
Usage
curl -s https://gist.githubusercontent.com/tschoonover/274627440d11ff32c2cd91a9d16a4974/raw/b86a6dfb39a06e49882ce8f6c698993cf8b993fd/bootstrap-dotnet | sudo bash -s
To Uninstall .NET Core
curl -s https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/uninstall/dotnet-uninstall-debian-packages.sh | sudo bash -s
Reference
https://www.microsoft.com/net/core#linuxubuntu