43 developer tools, always updated — new upstream releases land in apt within hours. Join the Discord

📅 From , the apt mirror will require a subscription. See pricing

📦 apt install zls

{IF_ARCHIVED}Official Debian ships ZLS {ARCHIVE_VERSION} — this repo has ZLS {VERSION}. One apt command for Bookworm, Trixie, Forky and Sid; GPG-signed, rebuilt within hours of every release.{ELSE_ARCHIVED}ZLS isn't in the official Debian archives — get ZLS {VERSION} via apt for Bookworm, Trixie, Forky and Sid. GPG-signed, rebuilt within hours of every release.{END_ARCHIVED}

⚡ The short answer. On a stock system apt install zls fails outright — zls is not in the official Debian archive at all. Add the deb.griffo.io repository below and sudo apt install zls gives you the current release on Debian alike — currently zls 0.16.0 (updated 2026-08-17).

📦 Add the repository, then apt install zls

Step 1: Add repository & key

Run the commands
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt update
install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update

Step 2: apt install zls

sudo apt install -y zls
apt install -y zls

🔄 How to apt install the latest zls

Once the repository is added there is no separate "install latest" command — apt already resolves to the newest version this repository serves, and that is rebuilt within hours of every upstream zls release. To move an existing install up to the latest version:

sudo apt update && sudo apt install --only-upgrade zls
apt update && apt install --only-upgrade zls

Or upgrade everything on the machine at once with sudo apt update && sudo apt upgrade. To see which version you would get before installing, run apt policy zls.

📋 zls versions available right now

Debian

Debian releaseSuitezls version
Debian 12 “Bookworm”bookworm0.16.0-1+bookworm
Debian 13 “Trixie”trixie0.16.0-1+trixie
Debian 14 “Forky”forky0.16.0-1+forky
Debian Sidsid0.16.0-1+sid

❓ Common questions

Does apt-get install zls work too?

Yes. apt and apt-get read the same sources, so sudo apt-get install zls is equivalent. apt is the friendlier front-end; apt-get is the stable one to prefer inside scripts.

Why doesn't apt install zls work out of the box?

zls is not packaged in the official Debian archive, so a stock system has nothing to install and apt install zls fails with "Unable to locate package". Adding this repository gives apt a source that carries zls and keeps it current.

Which Debian and Ubuntu releases are supported?

Every currently supported release listed in the table above. The $(lsb_release -sc) in the setup command picks the right suite for the machine you run it on, so the same three lines work everywhere.

Is this repository trustworthy?

It's an unofficial repository maintained by Dario Griffo. Packages are built automatically from official upstream zls releases, the packaging is open source at dariogriffo/zls-debian, and the whole archive is GPG-signed. Several upstream projects link to it from their official installation docs.

🔗 Related