
#MONO FOR MAC INSTALL#
I first used brew cask to install Mono Framework and had to add /Library/Frameworks/amework/Home/bin to PATH environment variable. TLS: normal SIGSEGV: altstack Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. Looks like it's much nicer: $ type mono mono is /usr/local/bin/mono $ mono -version Mono JIT compiler version 4.6.2 (Stable 4.6.2.7/08fd525 Tue Nov 22 22:05:) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. $ brew cask uninstall mono-mdkĪnd installed it using brew install mono and removed all the configuration changes in ~/.zshrc. $ cat `which mcs` #!/bin/sh export PATH=$PATH:/Library/Frameworks/amework/Versions/4.2.0/bin export PKG_CONFIG_PATH=/Library/Frameworks/amework/External/pkgconfig:/Library/Frameworks/amework/Versions/4.2.0/lib/pkgconfig:/Library/Frameworks/amework/Versions/4.2.0/share/pkgconfig:$PKG_CONFIG_PATH exec /Library/Frameworks/amework/Versions/4.2.0/bin/mono $MONO_OPTIONS /Library/Frameworks/amework/Versions/4.2.0/lib/mono/4.5/mcs.exe the first installation of Mono Framework using brew cask I found out that brew itself offers Mono (!) In my case, I have 4.2.0 installed: $ which mono /usr/local/bin/mono $ which mcs /usr/local/bin/mcs $ mono -version Mono JIT compiler version 4.2.0 (explicit/2701b19 Mon Aug 31 09:57:) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.


I am not sure which mono 4.x release that started in.īut I would assume that you do not have /usr/local/bin in your path(?), try: export PATH=/usr/local/bin:$ which mono which mcs

Newer versions of mono comply to the "El Capitan" requirements of not installing anything into /usr/bin and thus now /usr/local/bin is used. The latest versions of Mono (5.x) installation process creates a file ( mono-commands) in /etc/paths.d that contains the path of: /Library/Frameworks/amework/Versions/Current/Commands Update (since this is still getting views two+ years later):
