ghcup

Installer and version manager for the Haskell programming language

brewmacoslinux
Try with needOr install directly
Source

About

Installer for the general purpose language Haskell

Commands

ghcupghccabalstackhls

Examples

Install the latest GHC (Glasgow Haskell Compiler)$ ghcup install ghc
List all installed Haskell tools and their versions$ ghcup list
Set a specific GHC version as the default$ ghcup set ghc 9.4.5