macOS
brew install ghcuplocal Homebrew formula metadata
安装
brew install ghcuplocal Homebrew formula metadata
scoop install main/ghcupScoop official bucket manifest trees · bucket/ghcup.json · 来源: api.github.com
概览
Installer for the general purpose language Haskell
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ghcup | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/haskell/ghcup-hs
安装元数据
| 软件包键 | brew:ghcup |
|---|---|
| 版本 | 0.2.6.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ghcup |
| 主页 | https://www.haskell.org/ghcup/ |
| 仓库 | https://github.com/haskell/ghcup-hs |
| 上游文档 | https://www.haskell.org/ghcup |
| 许可证 | LGPL-3.0-only |
| 源码归档 | https://github.com/haskell/ghcup-hs/archive/refs/tags/v0.2.6.2.tar.gz |
| 最后更新 | 2026-07-22T05:47:39Z |
| Pulse | updated |
| 依赖 | gmp |
| 构建依赖 | cabal-install, ghc |
| macOS 提供的库 | bzip2, libffi, ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
main/ghcup
scoop install main/ghcup来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.