🍺 BREW Explorer

← all formulae

bash-language-server

brew install bash-language-server v5.6.0 MIT

Language Server for Bash

343
30-day installs · #2090
947
90-day · #2263
3.5k
365-day · #2284
2.7k
★ GitHub stars · updated 2mo ago

Runtime dependencies

GitHub topics

bash language-server

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "node"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Language Server for Bash",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:46+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "bash-language-server",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-18T20:10:38Z",
  "github_readme_excerpt": "# Bash Language Server\n\nBash language server that brings an IDE-like experience for bash scripts to most editors. This is based on the [Tree Sitter parser][tree-sitter-bash] and supports [explainshell][explainshell], [shellcheck][shellcheck] and [shfmt][shfmt].\n\nDocumentation around configuration variables can be found in the [config.ts](https://github.com/bash-lsp/bash-language-server/blob/main/server/src/config.ts) file.\n\n## Features\n\n- Jump to declaration\n- Find references\n- Code Outline \u0026 Show Symbols\n- Highlight occurrences\n- Code completion\n- Simple diagnostics reporting\n- Documentation for symbols on hover\n- Workspace symbols\n- Rename symbol\n- Format document\n\nTo be implemented:\n\n- Better jump to declaration and find references based on scope\n\n## Installation\n\n### Dependencies\n\nAs a dependency, we recommend that you first install [shellcheck][shellcheck] to enable linting:\nhttps://github.com/koalaman/shellcheck#installing . If `shellcheck` is installed,\nbash-language-server will automatically call it to provide linting and code analysis each time the\nfile is updated (with debounce time of 500ms).\n\nIf you want your shell scripts to be formatted consistently, you can install [shfmt][shfmt]. If\n`shfmt` is installed then your documents will be formatted whenever you take the \u0027format document\u0027\naction. In most editors this can be configured to happen automatically when files are saved.\n\n### Bash language server\n\nUsually you want to install a client for your editor (see the section below).\n\nBut if you want to install the server binary (for examples for editors, like helix, where a generic LSP client is built in), you can install from npm registry as:\n\n```bash\nnpm i -g bash-language-server\n```\n\nAlternatively, bash-language-server may also be distributed directly by your Linux distro, for example on Fedora based distros:\n\n```bash\ndnf install -y nodejs-bash-language-server\n```\n\nOr on Ubuntu with snap:\n\n```bash\nsudo snap install bash-language-server --classic\n```\n\nTo ve",
  "github_repo": "bash-lsp/bash-language-server",
  "github_stars": 2729,
  "github_topics": [
    "bash",
    "language-server"
  ],
  "homepage": "https://github.com/bash-lsp/bash-language-server",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 343,
  "installs_365d": 3489,
  "installs_90d": 947,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "bash-language-server",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 2090,
  "rank_365d": 2284,
  "rank_90d": 2263,
  "raw_hash": "2400bd658a09731d",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/bash-language-server.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "5.6.0",
  "versioned_formulae": [],
  "why_use_this": null
}