Automic VaultAutomic Vault

brew

Install ghcup with Homebrew, scoop

Installer for the general purpose language Haskell. Version 0.2.6.2 via Homebrew; verified 2026-06-28.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ghcup

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/ghcup

Scoop official bucket manifest trees · bucket/ghcup.json · source: api.github.com

overview

Package summary

Installer for the general purpose language Haskell

Commands and aliases

  • ghcup

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020: ghcup-hs was created on GitHub and 0.1.0-pre was released.
  • 2021: ghcup 0.1.14.1 was uploaded to Hackage.
  • 2023: ghcup 0.1.20.0 added Windows TUI support and Stack metadata support.
  • 2026: ghcup 0.2.1.0 introduced the installer DSL and revision support.

Related projects

  • The ghcup-hs README points to ghcup-metadata, ghcup-www, ghcup-docker, and ghcup-setup as companion projects.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.ghcup/config.yaml

executables

Installed executables

CommandKindExposureNote
ghcupcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.2.6.2
manager updated2026-06-28
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/haskell/ghcup-hs

install metadata

Package metadata

Package keybrew:ghcup
Version0.2.6.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ghcup
Homepagehttps://www.haskell.org/ghcup/
Repositoryhttps://github.com/haskell/ghcup-hs
Upstream docshttps://www.haskell.org/ghcup
LicenseLGPL-3.0-only
Source archivehttps://github.com/haskell/ghcup-hs/archive/refs/tags/v0.2.6.2.tar.gz
Last updated2026-06-28T13:36:28-04:00
Pulseupdated
Dependenciesgmp
Build dependenciescabal-install, ghc
Uses from macOSbzip2, libffi, ncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameghcup
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Scoop95%

main/ghcup

scoop install main/ghcup
  • normalized package name match
  • Matched by: Ghcup
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/ghcup.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment