Cabal

Updated: 17 August 2026

Start a haskell project in the current directory

cabal init --interactive
cabal build
cabal run
cabal install

Install a binary to ~/.cabal/bin

cabal install

GHC

Updated: 17 August 2026

Start a REPL

ghci

runghc interprets a source file instead of compiling it and does not create build artifacts

runghc hello.hs