Skip to content

Instantly share code, notes, and snippets.

@ClaudiuC
Forked from andypiper/nuget.sh
Last active January 4, 2016 05:49
Show Gist options
  • Save ClaudiuC/8578250 to your computer and use it in GitHub Desktop.
Save ClaudiuC/8578250 to your computer and use it in GitHub Desktop.
#!/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....
# More details: http://www.lextm.com/2013/01/how-to-use-nuget-on-mono-part-i/
#
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