npx claudepluginhub 4rgon4ut/cc-zig-lspZig language support via ZLS (auto-installs)
Zig LSP plugin for Claude Code. Integrates ZLS with automatic installation and version management.
claude plugin marketplace add 4rgon4ut/cc-zig-lsp && claude plugin install zig-lsp@cc-zig-lsp
Once installed, Claude Code automatically uses ZLS when you work with .zig or .zon files. No configuration needed.
The plugin detects the required Zig/ZLS version in this order:
build.zig.zon → .minimum_zig_version field.zigversion file (for zvm, zigup, zv)zig version~/.local/share/zls/
├── 0.13.0/zls # Cached versions
├── 0.14.0/zls
└── ...
~/.local/bin/zls # Symlink to active version
If you prefer to install ZLS manually:
# macOS
brew install zls
# Arch Linux
pacman -S zls
# From source
git clone https://github.com/zigtools/zls
cd zls && zig build -Doptimize=ReleaseSafe
Check that LSP is working:
claude --enable-lsp-logging
# Work with .zig files
cat ~/.claude/debug/lsp-*.log
| OS | Architecture |
|---|---|
| macOS | x86_64, aarch64 |
| Linux | x86_64, aarch64 |
MIT