Haskell Platform Haskell with batteries included

A multi-OS distribution

designed to get you up and running quickly, making it easy to focus on using Haskell. You get:

Prior releases of the Platform are also available.

Let's get started

Note: the stack tool has been evolving relatively rapidly. Users who wish to ensure they are running the latest version may want to consider running "stack update" and ensuring the proper path for stack-installed binaries is in their environment.

You appear to be using unknown. See below for other operating systems.
Find your operating system of choice below and follow the instructions to install the Haskell Platform on your system.

Other Operating Systems

Mac OS X logo

Mac OS X

The latest version of the Haskell Platform for Mac OS X is 8.0.2. Note that the current Haskell Platform is only compatible with OS X 10.8 and later.

These packages are for Mac OS X systems not using a package manager. If you would rather install with MacPorts or Homebrew then select the appropriate option to the right. (Note that those distributions may lag behind official platform installers).

To get started perform these steps:

  1. 1
    Download the installer.

    The core installer is the recommended installer. It includes all tools. The full installer includes additional global libraries beyond those packaged with ghc. It especially serves those who want full-featured installers in situations where network connectivity should not be taken for granted.

    You can verify the authenticity of this file by checking its SHA-256 hash,
    • 64 bit Core:
    • 64 bit Full:
  2. 2
    Run the installer.
  3. 3
    Follow the instructions.

Homebrew Cask

To install Haskell Platform with Homebrew Cask, simply run,

$ brew cask install haskell-platform
Windows logo

Windows

The latest version of the Haskell Platform for Windows is 8.0.2.

To get started perform these steps:

  1. 1

    Download the installer.

    The core installer is the recommended installer. It includes all tools. The full installer includes additional global libraries beyond those packaged with ghc. It especially serves those who want full-featured installers in situations where network connectivity should not be taken for granted.

    You can verify the authenticity of this file by checking its SHA-256 hash,
    • 32 bit Core:
    • 32 bit Full:
    • 64 bit Core:
    • 64 bit Full:
  2. 2
    Run the installer and follow the instructions.
  3. 3
    Modify your cabal config file (you can verify the location by running "cabal user-config init") to contain the following lines:
    extra-prog-path: C:\Program Files\Haskell Platform\8.0.2\msys\usr\bin
    extra-lib-dirs: C:\Program Files\Haskell Platform\8.0.2\mingw\lib
    extra-include-dirs: C:\Program Files\Haskell Platform\8.0.2\mingw\include
    
  4. 4
    Start WinGHCi from the Start menu and have fun!
Linux logo

Linux

Select your distribution

Please select your distribution on the right.

Generic Linux

This is a generic distribution of the Haskell Platform. While it should work on most modern Linux distributions, you may want to investigate use one of the distribution-specific options listed on the right. As GHC links against libgmp, you may need to install "libgmp-dev" using your package manager of choice.

The latest version of the Haskell Platform for Linux is 8.0.2.

To get started perform these steps:

  1. 1

    Download the installation tarball.

    The core installer is the recommended installer. It includes all tools. The full installer includes additional global libraries beyond those packaged with ghc. It especially serves those who want full-featured installers in situations where network connectivity should not be taken for granted.

    You can verify the authenticity of this file by checking its SHA-256 hash,
    • 64 bit Core:
    • 64 bit Full:
    • 32 bit Core:
    • 32 bit Full:
  2. 2
    Install by running:
    $ tar xf ...downloaded archive...
    $ sudo ./install-haskell-platform.sh
  3. 3
    If you have a system with position independent executables by default (such as Ubuntu 16.10 and above), you should edit the GHC settings file at
    usr/local/haskell/ghc-___/lib/ghc-___/settings
    and change the " compiler supports -no-pie" flag from "NO" to "YES".

Ubuntu

Haskell Platform is available in your distribution's package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Simply run,

$ sudo apt-get install haskell-platform

Debian

Haskell Platform is already available in your distribution's package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Simply run,

$ sudo apt-get install haskell-platform

Linux Mint

Haskell Platform is already available in your distribution's package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Simply run,

$ sudo apt-get install haskell-platform

Redhat

Haskell Platform is already available in your distribution's package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Simply run,

$ sudo yum install haskell-platform

Fedora

Haskell Platform is already available in your distribution's package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

Simply run,

$ sudo dnf install haskell-platform

Gentoo

Haskell Platform is already available in your distribution's package repository. Note that distribution-packaged versions are typically behind the current platform release. If you prefer to use the latest version rather than the distribution-packaged version, then you may want to use the generic Linux installer.

While there is a haskell-platform ebuild included in the main Portage tree, it is recommended that one uses the more up-to-date gentoo-haskell overlay. This can be done using layman,

$ sudo layman -a haskell
$ sudo emerge haskell-platform

More details can be found in the Wiki.

Build from source

If we don't have a binary package suitable for your distribution you can build the Haskell Platform from source.

  1. 1

    Download and extract the source tarball,

    You can verify the authenticity of this file by checking its SHA-256 hash,
  2. 2

    See the README file for build instructions.