Forrest logo
tool overview
On this page you find all important commands for the CLI tool ghcup. If the command you are looking for is missing please ask our AI.


ghcup is a command-line tool that is used to manage multiple versions of the Glasgow Haskell Compiler (GHC) and related Haskell tools on your system. It allows you to easily install, switch between, and manage different versions of GHC.

Here are some key features and functionalities of ghcup:

  1. Installation: ghcup simplifies the installation process of GHC and related tools on your system. It can automatically download and install the desired GHC version, as well as associated tools like cabal-install and hls (Haskell Language Server).

  2. Version management: ghcup provides a convenient way to manage multiple GHC versions on your system. You can install different versions side by side and switch between them easily using the ghcup command.

  3. Dependency management: ghcup allows you to manage package dependencies for different GHC versions. It provides features like installing specific cabal-install versions along with GHC, and managing separate package databases for each GHC version.

  4. Toolchain support: ghcup provides seamless integration with other Haskell development tools. It is compatible with popular build tools like Cabal and Stack, making it easier to use them together with different GHC versions.

  5. Path management: ghcup ensures that the appropriate GHC version and associated tools are in your system's PATH environment variable. This enables you to use the desired GHC version and related tools globally or per project, depending on your preference.

Overall, ghcup simplifies the management of GHC and related tools, making it easier for Haskell developers to work with different GHC versions and manage their development environments efficiently.

List of commands for ghcup:

tool overview