snippetbashTip
ghcup — Haskell toolchain installer. Install, manage, and update Haskell toolchains. More information: <http
Viewed 0 times
commandinstallerghcupinstallclitoolchainhaskellmanage
Problem
How to use the
ghcup command: Haskell toolchain installer. Install, manage, and update Haskell toolchains. More information: <https://gitlab.haskell.org/haskell/ghcup-hs>.Solution
ghcup — Haskell toolchain installer. Install, manage, and update Haskell toolchains. More information: <https://gitlab.haskell.org/haskell/ghcup-hs>.Start the interactive TUI:
ghcup tuiList available GHC/Cabal versions:
ghcup listInstall the recommended GHC version:
ghcup install ghcInstall a specific GHC version:
ghcup install ghc {{version}}Activate a specific GHC version:
ghcup set ghc {{version}}Install cabal-install:
ghcup install cabalUpdate
ghcup itself:ghcup upgradeCode Snippets
Start the interactive TUI
ghcup tuiList available GHC/Cabal versions
ghcup listInstall the recommended GHC version
ghcup install ghcInstall a specific GHC version
ghcup install ghc {{version}}Activate a specific GHC version
ghcup set ghc {{version}}Context
tldr-pages: common/ghcup
Revisions (0)
No revisions yet.