Notes taken from building a Yesod blog application on WSL - Ubuntu 18.04. To have a fully functioning Haskell toolchain, we will need to install the following tools:

  • Stack, a build tool for Haskell
  • Yesod, a web framework for Haskell
  • Cabal, a packaging system for Haskell


Install Stack.

curl -sSL | sh

Next install Yesod.

stack install yesod-bin --install-ghc

Next install Cabal.

sudo apt-get install -y cabal-install

Test the Cabal installation.

cabal --version

Install extensions for sublime

  • Download the .tmlanguage files from the repo on Bitbucket
  • Follow the instructions here to add the .tmlanguage files to package control.