Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Language servers for diagnostics and code navigation.
1 marketplace, most starred first
bash, shell, lsp, shellcheck, code-intelligence, scripting, language-server
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that provides Language Server Protocol (LSP) support for Bash/Shell scripts using bash-language-server.
Get started in 3 steps:
# 1. Install dependencies
npm install -g bash-language-server
brew install shellcheck # or apt/pacman install shellcheck
# 2. Load the plugin with Claude Code
claude --plugin-dir /path/to/bash-lsp-plugin
# Or add the marketplace and install it
claude plugins marketplace add /path/to/bash-lsp-plugin
claude plugins install bash-lsp-plugin@bash-lsp-plugin-marketplace
# 3. Open a bash script
# LSP will provide diagnostics and navigation; formatting is available when the client requests it
See Prerequisites for alternative installation methods.
The bash-language-server provides intelligent code assistance for Bash scripts:
shfmt support when the LSP client requests document formatting.sh - Shell scripts.bash - Bash scripts
Files with zsh or ksh extensions are intentionally not claimed here, and
hidden Bash startup files or .command files are not advertised in this
release because Claude Code did not route them consistently in live tests.This plugin requires two dependencies:
npm install -g bash-language-server
brew install bash-language-server
Ubuntu/Debian:
sudo apt install node-bash-language-server
Arch Linux:
sudo pacman -S bash-language-server
bash-language-server --version
Expected output: 5.6.0 (or newer)
ShellCheck provides linting and best practice suggestions. While optional, it's highly recommended for full functionality.
macOS:
brew install shellcheck
Ubuntu/Debian:
sudo apt install shellcheck
Arch Linux:
sudo pacman -S shellcheck
Or download from: https://github.com/koalaman/shellcheck/releases
Verify installation:
shellcheck --version
Expected output: ShellCheck - shell script analysis tool, version: 0.10.0 (or newer)
bash-lsp-plugin/
├── plugin.json # Plugin metadata
├── .claude-plugin/
│ └── marketplace.json # Marketplace catalog
├── .lsp.json # LSP server configuration
├── .shellcheckrc # ShellCheck style configuration (optional)
├── .claude/
│ └── settings.local.json # Permission settings
├── scripts/
│ └── validate.sh # Local validation entry point
├── README.md # This file
├── CONFIGURATION.md # Style and configuration guide
├── RELEASING.md # Release workflow and approval gate
└── TROUBLESHOOTING.md # Debug and troubleshooting guide
This plugin includes a custom .shellcheckrc configuration with enhanced optional checks:
${var} syntax for consistencycommand -v instead of which-n in conditionals*) defaultSee CONFIGURATION.md for details on customizing ShellCheck behavior.
plugin.json - Basic plugin information:
{
"name": "bash-lsp-plugin",
"displayName": "Bash LSP Plugin",
"description": "Claude Code Bash/Shell LSP integration with ShellCheck linting and shfmt formatting",
"version": "1.1.0",
"author": {
"name": "arbal"
}
}
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub arbal/bash-lsp-plugin --plugin bash-lsp-pluginPlugins from other owners that cover similar ground