Skip to content

Instantly share code, notes, and snippets.

@austinmao
Forked from andypiper/nuget.sh
Created December 28, 2016 10:26
Show Gist options
  • Save austinmao/08a1d3e192dbc6c575ace399fa102fda to your computer and use it in GitHub Desktop.
Save austinmao/08a1d3e192dbc6c575ace399fa102fda to your computer and use it in GitHub Desktop.
nuget for OS X
#!/bin/sh
# add a simple 'nuget' command to Mac OS X under Mono
# get NuGet.exe binary from http://nuget.codeplex.com/releases/view/58939
# get Microsoft.Build.dll from a Windows .NET 4.0 installation
# copy to /usr/local/bin and Robert is your father's brother....
#
PATH=/usr/local/bin:$PATH
mono --runtime=v4.0 /usr/local/bin/NuGet.exe $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment