macOS
brew install bash-language-serverlocal Homebrew formula metadata
sudo port install bash-language-serverMacPorts ports tree · devel/bash-language-server/Portfile · 来源: api.github.com
安装
brew install bash-language-serverlocal Homebrew formula metadata
sudo port install bash-language-serverMacPorts ports tree · devel/bash-language-server/Portfile · 来源: api.github.com
nix profile install nixpkgs#bash-language-servernixpkgs package indexes · pkgs/by-name/ba/bash-language-server/package.nix · 来源: api.github.com
sudo pacman -S bash-language-serverArch Linux sync databases · bash-language-server · 来源: geo.mirror.pkgbuild.com
概览
Language Server for Bash
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bash-language-server | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bash-language-server |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
bash-language-server
nix profile install nixpkgs#bash-language-serverbash-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-serverbash-language-server
sudo port install bash-language-server来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.