LinuxCommandLibrary

ghcup

Haskell toolchain installer.

TLDR

Start the interactive TUI

$ ghcup tui
copy


List available GHC/cabal versions
$ ghcup list
copy


Install the recommended GHC version
$ ghcup install ghc
copy


Install a specific GHC version
$ ghcup install ghc [version]
copy


Set the currently "active" GHC version
$ ghcup set ghc [version]
copy


Install cabal-install
$ ghcup install cabal
copy


Update ghcup itself
$ ghcup upgrade
copy

Copied to clipboard