All apps/GHCup

GHCup

ghcup

The main installer for the Haskell Language Toolchain.

Runs as ghcup|macOS, Linux|www.haskell.org

Command form

ai-draft · 2 tasks · 4 fields

Install a Haskell tool or choose the active version. Listing, removal, upgrade and the TUI are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ghcup

ghcup install

Install a tool
Install a toolExample values, fixed in this page — nothing here reaches a terminal
Basic
Tool*
string
Version or tag
string
TasksEach one presets the form for one job
Install
toolversion
ParametersOnly these flags are editable in the form
Tool
string · positional 0
ghccabal
Version or tag
Omit for recommended; latest and recommended are accepted tags.
string · positional 1
recommendedlatest

ghcup set

Set the active version
Set the active versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Tool*
string
Version*
string
TasksEach one presets the form for one job
Set active
toolversion
ParametersOnly these flags are editable in the form
Tool
string · positional 0
ghccabal
Version
string · positional 1
SourcesEvery flag above is checked against these
guide
# install the recommended GHC version ghcup install ghc # install a specific GHC version ghcup install ghc 8.2.2 # install cabal-install ghcup install cabal All of the following are valid arguments to ghcup install ghc: latest, recommended If the argument is omitted, the default is recommended.
manual2026-10-27

www.haskell.org

guide
# set the currently "active" GHC version ghcup set ghc 8.4.4
manual2026-10-27

www.haskell.org

Before it fills your prompt, Otty checks the installed ghcup against its version. A form that does not match your version is not offered.