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
Freelance software engineer United Kingdom
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
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
Updated: 17 August 2026
https://www.haskell.org/ghcup/steps/
https://www.haskell.org/ghcup/steps/#using-external-packages-in-ghci
https://www.haskell.org/ghcup/steps/#creating-a-proper-package-with-modules
Install other GHC versions and tools
ghcup tui