GHCup

Updated: 28 July 2026

Post installation

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

Start a REPL

ghci

Start a haskell project in the current directory

cabal init --interactive

Install other GHC versions and tools

ghcup tui

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

runghc hello.hs

Leave a comment