Automic VaultAutomic Vault

brew

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

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

インストール

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

macOS

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

local Homebrew formula metadata

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

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

Linux

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

nixpkgs package indexes · pkgs/by-name/ba/bash-language-server/package.nix · ソース: api.github.com

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

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

概要

パッケージ概要

Language Server for Bash

コマンドとエイリアス

  • bash-language-server

履歴

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

Bash Language Server is an implementation of the Language Server Protocol for shell scripts. It packages the modern editor-LSP idea for one of the oldest daily-use programming environments: Bourne-style shell scripting.

プロジェクトの歴史

The official README describes Bash Language Server as bringing an IDE-like experience for Bash scripts to most editors. It is based on the Tree-sitter Bash parser and integrates with explainshell, ShellCheck, and shfmt.

The project is written for editor integration rather than direct end-user scripting. Its releases are split across server and VS Code client tags, and the README documents installing the server binary from npm or distribution packages for editors that already have generic LSP clients.

採用の歴史

Its adoption follows the spread of LSP support from VS Code into Vim, Neovim, Emacs, Sublime Text, Helix, Eclipse, JupyterLab, and other editors. The official README lists clients for all of those editor families, which is the project's real adoption story: one server reused by many editor integrations.

The batch input shows Homebrew, MacPorts, Nix, and Arch packaging. That packaging matters because shell scripting is often edited outside Node-centric workflows, so system package managers make the server available to users who only need the `bash-language-server` executable.

使われ方

Users install `bash-language-server`, configure an editor LSP client to run `bash-language-server start`, and optionally install ShellCheck for diagnostics and shfmt for formatting. The README includes editor-specific setup snippets for Vim, Neovim, coc.nvim, ALE, Emacs lsp-mode, Emacs eglot, and other clients.

Configuration is mainly editor/workspace configuration plus environment variables such as `BASH_IDE_LOG_LEVEL`; the README points detailed configuration variables to the project's `config.ts` source.

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

Bash Language Server is package-nerd interesting because it makes shell tooling look like the rest of the LSP era. Instead of each editor shipping its own Bash intelligence, package managers can distribute one server that composes Tree-sitter parsing, ShellCheck linting, shfmt formatting, and editor-native LSP clients.

It is also a reminder that even mature Unix scripting ecosystems keep absorbing new developer-tool protocols. The package is small, but it connects Bash to modern editor workflows without replacing Bash itself.

タイムライン

  • 2010s: Language Server Protocol adoption makes reusable editor backends common outside VS Code.
  • 2010s: Bash Language Server appears with separate server and VS Code client release tags.
  • 2020s: README documents broad editor support including Vim, Neovim, Emacs, Sublime Text, Helix, Eclipse, and JupyterLab.
  • 2020s: Homebrew, MacPorts, Nix, and Arch package the server executable.

Related projects

  • The official README names Tree-sitter Bash, explainshell, ShellCheck, and shfmt as the main related projects. It also relates the server to editor LSP clients such as Bash IDE for VS Code, vim-lsp, nvim-lspconfig, coc.nvim, ALE, lsp-mode, and eglot.

ソース

  • Official GitHub releases page exposes server and VS Code client release streams.
  • Official README describes the LSP purpose, Tree-sitter basis, ShellCheck and shfmt integrations, installation, clients, and logging.
  • Official config.ts is cited by the README for configuration variables.
  • input.source_facts.package-manager lists Homebrew, MacPorts, Nix, and Arch packaging.

セキュリティ状態

リスクレベル: 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 メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/bash-lsp/bash-language-server

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:bash-language-server
バージョン5.6.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/bash-language-server
ホームページhttps://github.com/bash-lsp/bash-language-server
リポジトリhttps://github.com/bash-lsp/bash-language-server
上流ドキュメントhttps://github.com/bash-lsp/bash-language-server#readme
ライセンスMIT
ソースアーカイブhttps://registry.npmjs.org/bash-language-server/-/bash-language-server-5.6.0.tgz
依存関係node
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

bash-language-server

nix profile install nixpkgs#bash-language-server
  • normalized package name match
  • 一致条件: Bash Language Server
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bash-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

bash-language-server 5.6.0-1

Bash language server implementation based on Tree Sitter and its grammar for Bash

https://github.com/bash-lsp/bash-language-server

sudo pacman -S bash-language-server
  • License: MIT
  • Architecture: any
  • 1 依存関係
  • 4 任意依存関係
  • normalized package name match
  • 一致条件: Bash Language Server
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bash-language-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

bash-language-server

sudo port install bash-language-server
  • normalized package name match
  • 一致条件: Bash Language Server
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/bash-language-server/Portfile from https://api.github.com/repos/macports/macports-ports/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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment