macOS
brew install ghcuplocal Homebrew formula metadata
brew
Installer for the general purpose language Haskell. Version 0.2.6.2 via Homebrew; verified 2026-06-28.
install
brew install ghcuplocal Homebrew formula metadata
scoop install main/ghcupScoop official bucket manifest trees · bucket/ghcup.json · source: api.github.com
overview
Installer for the general purpose language Haskell
history
GHCup is the Haskell toolchain installer used to install and switch versions of GHC and related tools such as Cabal, Haskell Language Server, and Stack.
The ghcup-hs repository describes GHCup as the main installer for the Haskell language. Hackage describes the Haskell implementation as a rewrite of an earlier shell-script ghcup, and the repository release history shows a 0.1.0-pre release in 2020 followed by Hackage publication in 2021.
GHCup gained ecosystem significance because it solved a practical bootstrapping problem: Haskell users often need specific compiler and tool versions for each project. By living under haskell.org documentation and the haskell GitHub organization, it became a central installation path for the Haskell toolchain rather than a distro-specific add-on.
Practitioners use ghcup to install, list, set, remove, and compile toolchain versions. Its guide and changelog show growth beyond basic installation into a TUI, metadata-driven installation, release channels, tool revisions, health checks, and support for editor workflows that depend on Haskell Language Server.
For package maintainers and compiler testers, GHCup matters because it turns compiler version juggling into a reproducible user-level operation. It also exposes metadata and separate companion repositories for metadata, web documentation, Docker images, and GitHub Actions setup.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.ghcup/config.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ghcup | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/haskell/ghcup-hs
install metadata
| Package key | brew:ghcup |
|---|---|
| Version | 0.2.6.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ghcup |
| Homepage | https://www.haskell.org/ghcup/ |
| Repository | https://github.com/haskell/ghcup-hs |
| Upstream docs | https://www.haskell.org/ghcup |
| License | LGPL-3.0-only |
| Source archive | https://github.com/haskell/ghcup-hs/archive/refs/tags/v0.2.6.2.tar.gz |
| Last updated | 2026-06-28T13:36:28-04:00 |
| Pulse | updated |
| Dependencies | gmp |
| Build dependencies | cabal-install, ghc |
| Uses from macOS | bzip2, libffi, ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ghcup |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
main/ghcup
scoop install main/ghcupsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.