Automic VaultAutomic Vault

brew

haskell-language-server を Homebrew, apk, MacPorts, Nix, pacman, scoop でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install haskell-language-server

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install haskell-language-server

MacPorts ports tree · devel/haskell-language-server/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add haskell-language-server

Alpine Linux edge package indexes · haskell-language-server · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#haskell-language-server

nixpkgs package indexes · haskell-language-server · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S haskell-language-server

Arch Linux sync databases · haskell-language-server · ソース: geo.mirror.pkgbuild.com

Windows

Scoop確認済み · 92%
scoop install main/haskell-language-server

Scoop official bucket manifest trees · bucket/haskell-language-server.json · ソース: api.github.com

概要

パッケージ概要

Integration point for ghcide and haskell-ide-engine. One IDE to rule them all

コマンドとエイリアス

  • ghcide-bench-9.12
  • ghcide-bench-9.12.3
  • ghcide-bench-9.14
  • ghcide-bench-9.14.1
  • haskell-language-server-9.12
  • haskell-language-server-9.12.3
  • haskell-language-server-9.14
  • haskell-language-server-9.14.1
  • haskell-language-server-wrapper

履歴

プロジェクトの歴史と使われ方

Haskell Language Server is the official Language Server Protocol implementation for Haskell. Its package-manager identity matters because it turns a historically difficult editor-integration story into a single installable tool that editors can discover through the standard LSP model.

The project grew out of the Haskell IDE ecosystem around ghcide, hie-bios, plugins, and the earlier haskell-ide-engine effort. The Homebrew formula description preserves that consolidation story directly: HLS became the integration point for ghcide and haskell-ide-engine rather than another standalone editor-specific tool.

プロジェクトの歴史

The documentation describes HLS as a language server that speaks LSP to editor clients, which lets editors reuse a common protocol for diagnostics, completions, hover information, definition lookup, references, formatting, and related IDE functions. That positioned HLS as infrastructure rather than a single editor extension.

A central technical lineage is ghcide. The HLS component documentation describes ghcide as a library for Haskell IDE tooling, paired with hie-bios for discovering project structure, dependencies, extensions, and build information. HLS packages that foundation with plugins and release engineering so users do not have to assemble the stack manually.

The 1.0.0 changelog framed the release as a celebratory stabilization point, with internal changes, bug fixes, performance work, GHC 8.10.4 support, HIE DB integration for references and symbols, and plugins for import disambiguation, shadowed imports, evaluation, formatting, and tactics. Later changelog entries show the project repeatedly tracking new GHC families and pruning old compiler support.

採用の歴史

HLS adoption follows the spread of LSP-capable Haskell editing in VS Code, Emacs, Vim/Neovim, and other clients. Its docs emphasize that editor configuration is client-specific while the server side remains the same executable family, which is exactly the distribution shape package managers like Homebrew, Nix, Arch, MacPorts, and Scoop are good at providing.

The package appears on Hackage with a long version series and a broad dependency set around ghcide, hls-plugin-api, hie-bios, hiedb, LSP libraries, formatters, and refactoring tools. That public package record is evidence that HLS became a normal Haskell package ecosystem artifact, not only a GitHub binary release.

Binary distribution is unusually important for HLS because GHC version compatibility is central to user experience. The installation docs instruct users to install the wrapper and the server executables for the GHC versions they work with; Homebrew exposes that shape through versioned executables such as haskell-language-server-wrapper and per-GHC server names.

使われ方

Typical use is indirect: an editor or LSP client launches haskell-language-server-wrapper in a Haskell project, and the wrapper selects an HLS binary compatible with the project compiler. Users then get type diagnostics, completions, hover, code actions, references, formatting integration, Cabal-file assistance, and other plugin-provided features.

Project discovery often depends on hie.yaml, Cabal, Stack, or implicit hie-bios rules. That makes HLS especially sensitive to how a project is built, which is why package users care about the wrapper, the supported-GHC matrix, and the documentation around troubleshooting build cradles.

パッケージ好きにとっての重要性

For package nerds, HLS is a stress test of language-tool distribution. It must line up GHC ABIs, plugin versions, Hackage dependencies, native binaries, editor expectations, and project build tools. A package-manager upgrade can materially change editor behavior because it changes the compiler matrix and plugin set.

It also represents a broader packaging pattern: move editor intelligence into a protocol-speaking server, then let editors and operating-system package managers share that server. In Haskell, where compiler versions and build plans are especially specific, that pattern is more demanding than simply shipping one static CLI.

タイムライン

  • 2020: Public Hackage candidate versions for haskell-language-server appeared, including 0.1.0.0.
  • 2021: The 1.0.0 changelog marked a stabilization point with HIE DB integration, plugin work, and GHC 8.10.4 support.
  • 2023: The 2.x line continued the ghcide/plugin architecture while tracking newer GHC releases.
  • 2026: The 2.14.0.0 package record and changelog show bindists for multiple GHC versions, including GHC 9.14.1 and 9.12.x.

Related projects

  • ghcide supplies core IDE services and is documented by HLS as a library for Haskell IDE tooling.
  • hie-bios discovers project layout and build settings for Haskell tools.
  • haskell-ide-engine is part of the predecessor ecosystem that HLS consolidated.
  • GHC, Cabal, Stack, Hackage, HIE DB, HLint, Ormolu, Fourmolu, and editor LSP clients form the surrounding toolchain.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:server

インストール挙動

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

推奨レビュー

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

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
<project-root>/hie.yaml

実行可能ファイル

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

コマンド種類公開範囲メモ
ghcide-bench-9.12cliグローバル実行可能ファイル
ghcide-bench-9.12.3cliグローバル実行可能ファイル
ghcide-bench-9.14cliグローバル実行可能ファイル
ghcide-bench-9.14.1cliグローバル実行可能ファイル
haskell-language-server-9.12cliグローバル実行可能ファイル
haskell-language-server-9.12.3cliグローバル実行可能ファイル
haskell-language-server-9.14cliグローバル実行可能ファイル
haskell-language-server-9.14.1cliグローバル実行可能ファイル
haskell-language-server-wrappercliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

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

https://github.com/haskell/haskell-language-server

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:haskell-language-server
バージョン2.14.0.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/haskell-language-server
ホームページhttps://github.com/haskell/haskell-language-server
リポジトリhttps://github.com/haskell/haskell-language-server
上流ドキュメントhttps://haskell-language-server.readthedocs.io/
ライセンスApache-2.0
ソースアーカイブhttps://github.com/haskell/haskell-language-server/releases/download/2.14.0.0/haskell-language-server-2.14.0.0-src.tar.gz
最終更新2026-04-27T10:45:09Z
Pulseupdated
依存関係gmp
ビルド依存関係cabal-install, ghc, ghc@9.12
macOS 提供ライブラリlibffi, ncurses
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし
注意点haskell-language-server is built for GHC versions 9.12.3, 9.14.1. You need to provide your own GHC or install one with brew install ghc

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

haskell-language-server

nix profile install nixpkgs#haskell-language-server
  • normalized package name match
  • 一致条件: Haskell Language Server
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: haskell-language-server from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk95%

haskell-language-server 2.9.0.0-r0

Official Haskell Language Server implementation

https://github.com/haskell/haskell-language-server

sudo apk add haskell-language-server
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: haskell-language-server
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Haskell Language Server
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: haskell-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

haskell-language-server 2.3.0.0-47

LSP server for GHC

https://github.com/haskell/haskell-language-server#readme

sudo pacman -S haskell-language-server
  • License: Apache-2.0
  • Architecture: x86_64
  • 32 依存関係
  • normalized package name match
  • 一致条件: Haskell Language Server
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: haskell-language-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

haskell-language-server

sudo port install haskell-language-server
  • normalized package name match
  • 一致条件: Haskell Language Server
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/haskell-language-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/haskell-language-server

scoop install main/haskell-language-server
  • normalized package name match
  • 一致条件: Haskell Language Server
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/haskell-language-server.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