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. Install the latest version of Mono from the Mono project or via Homebrew (see option 5 below).
  3. Add Mono /bin folder to your PATH: export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin/. For more info see: Mono installed on Mac, but not recognized in terminal
  4. Go back to VS Code, press Cmd+P and enter the following to install the Ionide package.

     ext install Ionide-fsharp
    


Option 3: Install JetBrains Rider

logo JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology. It offers support for .NET and .NET Core applications on all platforms.

  1. Install JetBrains Rider for Mac.
  2. Install the latest version of Mono.
  3. Ensure Mono /bin folder is added to your PATH: export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin/. For more info see: Mono installed on Mac, but not recognized in terminal


Option 4: 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 5: 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 6: Install F# (64-bit) from source

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