DEPRECATED: As of March 23rd 2015 scriptcs is part of "core" Homebrew.
A scriptcs v0.13.3 formulae for the Homebrew package manager based on a this gist by akunzai.
Mono 3.0.0 (or newer) is a dependency so this formula will install that.
Just brew tap c0ntinuum/homebrew-scriptcs && brew install scriptcs
simples.
You could instead install directly via a URL:
brew install https://raw.github.com/c0ntinuum/homebrew-scriptcs/master/scriptcs.rb
If you have previously installed scriptcs from this forumla simply:
brew update && brew upgrade mono scriptcs
Run brew test scriptcs
and you see:
Testing scriptcs
Run scriptcs
,
type Console.WriteLine("Hello, world!");
,
hit ENTER
and you see:
Hello, world!