The installation of the Haskell toolchain, consists of the following tools:

MacOS

Install GHC, cabal-install, with option to install stack and haskell-language-server via GHCup

curl --proto '=https' --tlsv1.2 -sSf <https://get-ghcup.haskell.org> | sh

It’ll be installed to

$HOME/.ghcup

Once completed, you’ll get

All done!

To start a simple repl, run:
  ghci

To start a new haskell project in the current directory, run:
  cabal init --interactive

To install other GHC versions and tools, run:
  ghcup tui

If you are new to Haskell, check out <https://www.haskell.org/ghcup/install/#first-steps>

References