macOS
brew install zlslocal Homebrew formula metadata
安装
brew install zlslocal Homebrew formula metadata
sudo apk add zlsAlpine Linux edge package indexes · zls · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#zlsnixpkgs package indexes · zls · 来源: raw.githubusercontent.com
sudo pacman -S zlsArch Linux sync databases · zls · 来源: geo.mirror.pkgbuild.com
sudo zypper install zlsopenSUSE Tumbleweed package metadata · zls · 来源: download.opensuse.org
scoop install main/zlsScoop official bucket manifest trees · bucket/zls.json · 来源: api.github.com
winget install --id zigtools.zls -eWindows Package Manager source index · zigtools.zls · 来源: cdn.winget.microsoft.com
概览
Language Server for Zig
历史
ZLS is the Zig Language Server, a Zig implementation of the Language Server Protocol that provides editor features such as completion, hover, diagnostics, go-to-definition, formatting integration, semantic tokens, inlay hints, and code actions.
The zigtools/zls repository was created in 2020, during Zig's pre-1.0 growth period when editor tooling had to track a moving compiler and standard library. The README describes ZLS as a non-official Language Server Protocol implementation for Zig written in Zig.
ZLS evolved together with the zigtools ecosystem. The zigtools site now groups ZLS with related projects such as the Zig Playground and Zig LSP Kit, the latter explicitly described as building blocks for LSP implementations like ZLS.
ZLS became the de facto language-server choice for Zig developers because the Zig language tools page points users to zigtools/zls, and editor documentation focuses on wiring ZLS into everyday development. The official Zig VS Code workflow can install Zig and ZLS automatically, while other editors commonly ask users to install a matching zls binary themselves.
Because Zig changes quickly before 1.0, ZLS adoption is tied to version compatibility. The ZLS installation guide warns that tagged Zig releases should be paired with matching tagged ZLS releases, and nightly Zig builds should be paired with nightly ZLS builds. That makes the package especially relevant for package managers and dev shells.
ZLS runs as an editor-launched language server. Users normally configure their editor or LSP client to start zls, then get completion, hover, diagnostics, symbol navigation, formatting via zig fmt, semantic tokens, inlay hints, and code actions inside Zig projects.
The most common operational problem is keeping the Zig compiler and ZLS in sync. Package users often care less about invoking zls directly and more about whether their editor, PATH, and project toolchain resolve compatible Zig and ZLS builds.
ZLS is one of the clearest examples of modern language tooling as a package-manager problem. A single executable unlocks editor support across many clients, but it must track a fast-moving compiler closely enough that mismatched packages produce confusing development failures.
For Zig users, installing zls is often the difference between syntax highlighting and a real IDE-like workflow, so it has become part of the standard systems-programming workstation kit.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$local_config_dir/zls.json$global_config_dir/zls.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
zls | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/zigtools/zls
安装元数据
| 软件包键 | brew:zls |
|---|---|
| 版本 | 0.16.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/zls |
| 主页 | https://zigtools.org/zls/ |
| 仓库 | https://github.com/zigtools/zls |
| 上游文档 | https://github.com/zigtools/zls#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/zigtools/zls/archive/refs/tags/0.16.0.tar.gz |
| 最后更新 | 2026-06-14T14:04:18-04:00 |
| Pulse | updated |
| 依赖 | zig |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | zls |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
zls
nix profile install nixpkgs#zlszls 0.15.0-r0
Zig Language Server
https://github.com/zigtools/zls
sudo apk add zlszls 0.15.1-1
A language server for Zig
https://github.com/zigtools/zls
sudo pacman -S zlszls 0.15.0-2.4
Language server implementation for Zig in Zig
https://github.com/zigtools/zls
sudo zypper install zlsmain/zls
scoop install main/zlszigtools.zls
winget install --id zigtools.zls -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.