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 Visual Studio Code for Mac
  2. Press Ctrl+P and enter the following to install the Ionide package for VS Code.

     ext install Ionide-fsharp
    

You will also need to install the F# packages from Step 1 or 3.


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: