Automic VaultAutomic Vault

brew

ghcup を Homebrew, scoop でインストール

ghcup のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install ghcup

local Homebrew formula metadata

Windows

Scoop確認済み · 92%
scoop install main/ghcup

Scoop 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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ghcupcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.2.6.2
マネージャ更新日2026-07-22
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係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 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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Scoop95%

main/ghcup

scoop install main/ghcup
  • normalized package name match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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