Mono is a software platform designed to allow developers to easily create cross platform applications part of the .NET Foundation.

一、 Install Mono on Mac OS X

  1. Download the latest Mono release for Mac

  2. Run the *.pkg file and accept the terms of the license

  3. After the installation completed successfully, it’s a good idea to run through the basic hello world example.

  • Test

1、 create file

vi hello.cs


using System;
public class HelloWorld
    static public void Main ()
        Console.WriteLine ("Hello Mono World");

2、mcs hello.cs

此命令会生成对应的 hello.exe 文件

3、mono hello.exe

$ mono hello.exe
Hello Mono World

MonoDevelop IDE

MonoDevelop MonoDevelop enables developers to quickly write desktop and web applications on Linux, Windows and Mac OS X. It also makes it easy for developers to port .NET applications created with Visual Studio to Linux and Mac OS X maintaining a single code base for all platforms.

Ensure you have install Mono + GTK#.

  • Install in Mac

Double click

  • Create simple project
  1. 默认支持 git, 很好。

  2. hello world 就不演示了。界面还算整洁。

first demo