Haskell Platform


Where To Get It

To download The Haskell Platform, visit this link.

The website will likely auto-detect your operating system. If it doesn't auto-detect for you, select the tab on the page that is your operating system (Mac OSX, Windows, or Linux). Inside your corresponding tab, choose the Download Full option.

Mac Download Size: ~310 MB
Mac Install Size: ~1.78 GB

Windows Download Size: ~229 MB
Windows Install Size: ~2.2 GB

NOTE 1: If you are running Windows, there will be 32-bit or 64-bit options, choose the option that suits your operating system. If you don't know your architecture type, a quick Google will explain how to find out.

NOTE 2: The instructions below are going to assume anyone installing Haskell on their own machine is using Windows or Mac OSX. If you are running Linux and need assistance with the install, talk with Ruben Gilbert (BiHall 506).

How To Install



  1. Download The Haskell Platform from the link above.
  2. Run the installer. Click "Next". Click "I Agree" to the Terms of Use.
  3. Choose a location to install the Platform. The default option in "Program Files" is fine. Click "Next".
  4. Leave the 3 default options checked for install (Base Components, Stack, and Update System Settings).
  5. Choose if you want the Haskell Platform to have a Start Menu shortcut. If you do, just click "Install". If you don't, check the box in the bottom left to not create a shortcut, then click "Install".
  6. The installer will then prompt you for a location to install Stack (39.1 MB). The default location is fine. Click "Next".
  7. Leave the 2 default options checked for install (Install Haskell Stack and Add to user %PATH%). Click "Install".
  8. After the first part of the install (Stack) completes, click "Close". Another install will begin for MSys, Extralibs, and GHC. When it finishes, click "Next" and then click "Finish".
  9. Open a Command Prompt window (hit Win+r, type "cmd", then hit enter). Type the command:

    > cabal user-config init

    This will initiate a default configuration to Cabal, as well as show you the path to where the cabal configuration file is. Remember this path!. We will need to add a few small edits to this file.
  10. Open "My Computer" and follow the path that the Command Prompt window showed. The default path will be something like:


    NOTE: AppData is a hidden folder. By default (and rather predictably), Windows hides hidden folders. If you can't see AppData, a quick Google search will explain how to show hidden folders on Windows.
  11. If you follow the path to the "cabal" folder, there should be a file inside of it called "config". Open this file in your favorite text editor. Copy and paste the 3 lines in this text file to the bottom of the "config" file and then save and close it.
  12. The name of the Haskell program on Windows is WinGHCi. If you didn't create a Start icon for it, you can find it by opening the Start menu and typing "WinGHCi" or by going to:

    C:\ProgramFiles\Haskell Platform\8.0.1\winghci\winghci.exe

    (32-bit users will be the same path but in Program Files (x86)).

  1. Download The Haskell Platform from the link above.
  2. Locate the .pkg file in your Downloads folder (or wherever your browser is set to download files).
  3. Opening the .pkg file will open an installer window for Haskell Platform. Click "Continue". NOTE: The opening screen will list a few important prerequisites. We can ignore this for now. We will install them later.
  4. Select a location for the Platform to install and click "Continue". You will likely want your main Mac hard drive.
  5. Confirm your selected location and click "Install".
  6. You may be prompted to enter your computer's Admin credentials to proceed with the install. Enter them and the install will begin. Move to the next section once the install completes.

Now come the prerequisites. The Glasgow Haskell Compiler (GHC) needs the Command Line Tools (CLT) package to be installed. Depending on what you have installed on your machine in the past, you may already have this package installed (the steps below will confirm for you).

  1. If you don't have the CLT package installed, after completing the Haskell Platform install, you may be immediately prompted to install the CLT package. If so, accept the install (if not, skip to step 2). Once finished, open the Terminal application and run the command:

    > xcode-select -p

    If you see:


    then you're all set! If you don't see that, continue reading.
  2. If you don't get a prompt to install the CLT package and aren't sure if you have Xcode or the CLT package installed, open the Terminal application. Run the command:

    > xcode-select -p

    One of multiple things will happen:

    a) If you see:


    you're all set! You have the CLT package already installed.

    b) If you get the error:

    xcode-select: error: unable to get active developer directory

    you don't have CLT installed. Go to step 3.

    c) If you see:


    that means you already have Xcode installed. If you already have Xcode installed, you may or may not already have CLT installed (depends on the version of Xcode and if you manually installed it at some point). If you have Xcode installed, but are unsure if you have CLT installed, contact Ruben Gilbert at rgilbert@middlebury.edu.
  3. If you don't have Xcode installed and don't have CLT installed, open a Terminal window and type the command:

    > xcode-select --install

    A window should pop up asking you to confirm the installation of command line developer tools. Accept the install and agree to Apple's License Agreement. When the install completes, run the

    > xcode-select -p

    command in Terminal again. You should see:


    If the install was successful, and you don't see CLT listed, contact Ruben Gilbert at rgilbert@middlebury.edu.

Last Modified: