Installing the Haste compiler
From pre-built packages
The easiest way to install Haste is to use our pre-booted binary packages of Haste 0.5.5.1. 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.
- Debian (MD5: 1c530073bceb47e6ab8b183b5b2711dc)
- Generic Linux (MD5: bca02893606a65e8648d364e1b78b294)
- Windows installer (MD5: d005d18339e5caae37077fbb0dc33b80)
- Windows portable (MD5: b889ecbf4282b08effd975c71bd78649)
- OSX (MD5: e73ee6b531f7a53690bf57837cd0f5c5)
Finally, there are also pre-built Linux binaries for recent development snapshots.
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
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 https://github.com/valderman/haste-compiler.git $ cd haste-compiler $ cabal install $ haste-boot --local
For more detailed instructions on installing Haste from source, please refer to the building guide.