Option 1: Install F# with Xamarin Studio

logo Xamarin Studio is a free IDE for general purpose development, with freemium add-ins for mobile development.

You can create new projects and cross-compile projects built in Visual Studio and other environments. See the Mac, Linux and Cross-Platform Dev Guide to go further. For 64-bit support, see below.


Option 2: Install Visual Studio Code

logo Visual Studio Code is a free, open source, cross platform source code editor supporting a lot of languages. F# is supported by the Ionide project and is a nice integration.

  1. Install F# commmand line tools - either via Options 1 or 3.
  2. Install Visual Studio Code for Mac
  3. Install the Ionide package for VS Code
    Open the Quick Open Menu in VS Code by pressing Ctrl+P and write the following command:
    ext install Ionide-fsharp

Option 3: Install F# alone

To use the F# command-line compiler and tools on Mac OSX:

See the Mac, Linux and Cross-Platform Dev Guide to go further. For 64-bit support, see below.


Option 4: Install F# via Homebrew (64-bit)

F# is installed as part of the Mono homebrew formula:

brew install mono

You can configure Xamarin Studio to use this 64-bit installation: Preferences > .NET Runtimes > Add > /usr/local

Option 5: Install F# (64-bit) from source

To use the F# command-line compiler and tools on Mac OSX in 64-bit mode: