# GHCup

> The main installer for Haskell

Source: https://talira.ai/catalog/ghcup-yk1h0qjw
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / environment / version managers](https://talira.ai/categories/developer-tools/environment/version-managers), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Platforms: linux, macos, freebsd, windows[^4]
- Licence: LGPL-3.0-only[^2]
- Pricing: Free and open source[^2][^3]
- Pricing notes: Donations go through its Open Collective page.
- Free tier: yes[^2][^3]
- Supports: [NO_COLOR](https://talira.ai/standards/no-color.md)[^5]
- Backed by: [Julian Ospald](https://talira.ai/orgs/julian-ospald.md)

GHCup is the main installer for [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md). One command installs GHC, cabal-install, the Haskell Language Server and Stack into your home directory, without sudo or the system package manager, and GHCup then switches between versions of each, with unversioned links pointing at the default you choose. It can also compile GHC from source, adds builds for platforms upstream does not support (Alpine), and GPG-signs its metadata and its own builds. It runs on Linux, macOS, FreeBSD, Windows and WSL2, and is built for use in CI as much as by hand. Its code moved from GitHub to Codeberg. LGPL-3.0-only.

## Links

- Website: https://www.haskell.org/ghcup/
- Codeberg: https://codeberg.org/haskell/ghcup-hs
- Docs: https://www.haskell.org/ghcup/guide/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/ghcup>[^1]

## Problems it solves

- install the Haskell compiler and build tools on my laptop
- switch between GHC versions for different Haskell projects
- set up a Haskell toolchain in CI

## Features

- installs GHC, cabal-install, Haskell Language Server and Stack
- switches between installed versions of each tool
- installs into your home directory without sudo or a system package manager
- can compile GHC from source
- GPG-signed metadata and builds
- non-interactive CLI suited to CI

## Trust

Overall: 0.29 out of 1.
Signals: adoption 0.42, backing 0.30, extensibility 0.00.

- 193 Homebrew installs in 30 days
- backed by Julian Ospald

Warnings:

- activity not tracked: Talira doesn't read Codeberg repositories yet

## Related

- Works with [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md)

## Alternatives

- [RVM](https://talira.ai/catalog/rvm-x17t9bbc.md): Ruby Version Manager: install several Ruby interpreters side by side and switch between them, each with its own named gemsets.

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 27 Nov 2026)
[^2]: https://github.com/haskell/ghcup-hs/blob/master/ghcup.cabal (checked 27 Nov 2026)
[^3]: https://www.haskell.org/ghcup/about/ (checked 27 Nov 2026)
[^4]: https://www.haskell.org/ghcup/ (checked 27 Nov 2026)
[^5]: https://github.com/haskell/ghcup-hs/commit/a08e62430901dcc0271fa65bd96ded68b65bd152 (checked 28 Nov 2026)
