Automic VaultAutomic Vault

brew

Install zls with Homebrew, apk, Nix, pacman, scoop, winget, zypper

Language Server for Zig. Version 0.16.0 via Homebrew; verified 2026-06-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zls

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add zls

Alpine Linux edge package indexes · zls · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#zls

nixpkgs package indexes · zls · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S zls

Arch Linux sync databases · zls · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install zls

openSUSE Tumbleweed package metadata · zls · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/zls

Scoop official bucket manifest trees · bucket/zls.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id zigtools.zls -e

Windows Package Manager source index · zigtools.zls · source: cdn.winget.microsoft.com

overview

Package summary

Language Server for Zig

Commands and aliases

  • zls

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020-04-24: The zigtools/zls GitHub repository is created.
  • 2020s: ZLS becomes the Zig community's primary LSP implementation.
  • 2020s: The Zig tools page links to zigtools/zls under language servers.
  • 2020s: The official Zig VS Code setup path gains automatic Zig and ZLS installation, while the ZLS guide continues to document source and binary installs.

Related projects

  • ziglang/zig is the compiler and standard library that ZLS must track closely.
  • ziglang/vscode-zig is the official VS Code extension path that integrates with ZLS.
  • Zig LSP Kit is a related zigtools project for building LSP implementations in Zig.
  • The Language Server Protocol is the editor-server protocol ZLS implements.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:server

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$local_config_dir/zls.json$global_config_dir/zls.json

executables

Installed executables

CommandKindExposureNote
zlscliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.16.0
manager updated2026-06-14
local dataok
upstreamcurrent
latest detected0.16.0

https://github.com/zigtools/zls

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:zls
Version0.16.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zls
Homepagehttps://zigtools.org/zls/
Repositoryhttps://github.com/zigtools/zls
Upstream docshttps://github.com/zigtools/zls#readme
LicenseMIT
Source archivehttps://github.com/zigtools/zls/archive/refs/tags/0.16.0.tar.gz
Last updated2026-06-14T14:04:18-04:00
Pulseupdated
Dependencieszig
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namezls
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

zls

nix profile install nixpkgs#zls
  • normalized package name match
  • Matched by: Zls
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: zls from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk95%

zls 0.15.0-r0

Zig Language Server

https://github.com/zigtools/zls

sudo apk add zls
  • License: MIT
  • Architecture: x86_64
  • Source Package: zls
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zls
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

zls 0.15.1-1

A language server for Zig

https://github.com/zigtools/zls

sudo pacman -S zls
  • License: MIT
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Zls
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: zls from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

zls 0.15.0-2.4

Language server implementation for Zig in Zig

https://github.com/zigtools/zls

sudo zypper install zls
  • License: MIT
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: zls
  • 1 provides
  • normalized package name match
  • Matched by: Zls
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: zls from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Scoop95%

main/zls

scoop install main/zls
  • normalized package name match
  • Matched by: Zls
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/zls.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

zigtools.zls

winget install --id zigtools.zls -e
  • normalized package name match
  • Matched by: Zls
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: zigtools.zls from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment