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: as of 8.0.1 there are two download options available — minimal and full. The minimal option is currently the generally recommended one. It does not include any additional global libraries beyond those packaged with ghc, though it does include all tools. This ensures maximal compatibility with a variety of library sets. The full option is useful for those who prefer the "classic" platform behavior with a broader set of preinstalled libraries, and especially serves those well who want full-featured installers in situations where network connectivity should not be taken for granted.

Note also: 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.1. Note that the Haskell Platform is only compatible with OS X 10.6 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 disk image,

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

MacPorts

To install Haskell Platform with MacPorts, simply run,

$ sudo port install haskell-platform

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.1.

To get started perform these steps,

  1. 1

    Download the installer,

    You can verify the authenticity of this file by checking its SHA-256 hash,
    • 32 bit Minimal:
    • 32 bit Full:
    • 64 bit Minimal:
    • 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.1\msys\usr\bin
    extra-lib-dirs: C:\Program Files\Haskell Platform\8.0.1\mingw\lib
    extra-include-dirs: C:\Program Files\Haskell Platform\8.0.1\mingw\include
    
  4. 4
    Start WinGHCi from the Start menu and have fun!
Linux logo

Linux

Select your distribution

Please select your Linux distribution in the list on the right. 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 use the generic Linux installer.

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.

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

To get started perform these steps,

  1. 1

    Download the installation tarball,

    You can verify the authenticity of this file by checking its SHA-256 hash,
    • 64 bit Minimal:
    • 64 bit Full:
    • 32 bit Minimal:
    • 32 bit Full:
  2. 2
    Install by running:
    $ tar xf ...downloaded archive...
    $ sudo ./install-haskell-platform.sh

Ubuntu

Good news! Haskell Platform is already available in your distribution's package repository.

Simply run,

$ sudo apt-get install haskell-platform

Debian

Good news! Haskell Platform is already available in your distribution's package repository.

Simply run,

$ sudo apt-get install haskell-platform

Linux Mint

Good news! Haskell Platform is already available in your distribution's package repository.

Simply run,

$ sudo apt-get install haskell-platform

Redhat

Good news! Haskell Platform is already available in your distribution's package repository.

Simply run,

$ sudo yum install haskell-platform

Fedora

Good news! Haskell Platform is already available in your distribution's package repository.

Simply run,

$ sudo dnf install haskell-platform

Gentoo

Good news! Haskell Platform is already available in your distribution's package repository.

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.