Fork me on GitHub

Installing the Haste compiler

From pre-built packages

The easiest way to install Haste is to use our pre-booted binary packages of Haste These packages require a 64 bit OS and a somewhat recent (GHC 7.6+) version of GHC installed and visible on your $PATH. The installed GHC version does not need to correspond to the version of GHC used to build Haste, however. Get the latest Haskell Platform and the Haste package for your system and you’re good to go.

There are also binaries available for older versions: GHC 7.6-based (only 0.4 branch), GHC 7.8-based (0.5.0 and earlier), GHC 7.10-based.

Finally, there are also pre-built Linux binaries for recent development snapshots.

From Hackage

The second easiest way to get Haste is to install it from Hackage. Make sure you have a recent version of the Haskell Platform installed, then run the following in a terminal:

$ cabal update
$ cabal install haste-compiler
$ haste-boot

If you get an error about haste-boot not being found, you will need to add ~/.cabal/bin to your $PATH. If you are unsure about how to do this, please consult your OS documentation Google.

If you get errors about strip or about library files not being found, please check that your ~/.cabal/config does not contain the line shared: True. In general, it is highly recommended that you use the default cabal configuration when booting Haste or installing packages with haste-cabal.

From GitHub

Another possibility is to install a development version of Haste from GitHub. This requires you to have the Haskell Platform installed, as well as Git.

$ git clone
$ cd haste-compiler
$ cabal install
$ haste-boot --local

For more detailed instructions on installing Haste from source, please refer to the building guide.