Skip to content

Instantly share code, notes, and snippets.

@paralleltree
Last active October 2, 2016 01:51
Show Gist options
  • Save paralleltree/d008ecd465183b911acee276ad192226 to your computer and use it in GitHub Desktop.
Save paralleltree/d008ecd465183b911acee276ad192226 to your computer and use it in GitHub Desktop.
#!/bin/bash
# add mono repository
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
# install mono-devel
sudo apt-get update
sudo apt-get install -y mono-devel
# install nuget package manager
mkdir ~/bin
echo 'PATH="$PATH:~/bin"' >> ~/.bashrc
source ~/.bashrc
wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -O ~/bin/nuget.exe
chmod +x ~/bin/nuget.exe
echo "done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment