42 outils de développement, toujours à jour — chaque nouvelle version upstream arrive dans apt en quelques heures. Rejoindre le Discord

📅 À partir du , le miroir apt nécessitera un abonnement. Voir les tarifs

🇿 Installer la dernière version de ZLS sur Debian

Zig Language Server for IDE features and development productivity

Dernière version : 0.16.0 · mis à jour le 2026-07-08
SourceVersion
deb.griffo.io0.16.0 ✅
Debian officiel🚫 non empaqueté
← Retour à l'accueil

Qu\'est-ce que ZLS ?

ZLS (Zig Language Server) is a Implémentation du protocole de serveur de langage pour Zig written in Zig by the zigtools community. It provides developers with modern IDE features like autocomplete, goto definition, hover information, and semantic analysis in their favorite editors. With over 4k GitHub stars, it's the essential tool for productive Zig development.

🚀 Pourquoi les dernières versions sont importantes : ZLS is rapidly evolving alongside Zig itself, with frequent releases containing new language feature support, performance improvements, and enhanced IDE capabilities. The dernière versions include better semantic analysis, improved completions, and compatibility with Zig 0.16+.

⚡ Key Features of ZLS

💡 Smart Completions

Intelligent autocomplete for functions, variables, types, and imports. Context-aware suggestions based on current scope and available symbols.

🔍 Navigation Features

Goto definition/declaration, find references, and document symbols. Navigate large Zig codebases with ease and precision.

📝 Code Intelligence

Hover information, semantic token highlighting, and inlay hints. Understand code structure and types without manual lookup.

🛠️ Development Tools

Automatic formatting with zig fmt, code actions, selection ranges, and folding regions for better code organization.

🔄 Symbol Operations

Rename symbols across entire codebase, find all references, and document symbol outline for project navigation.

📦 Package Support

Custom package resolution, cImport support, and namespace handling for complex Zig projects and dependencies.

🎯 Supported Editors & IDEs

  • VS Code: Official Zig extension with ZLS integration
  • Neovim/Vim: Native LSP support and dedicated plugins
  • Emacs: lsp-mode and eglot compatibility
  • Sublime Text: LSP package integration
  • Kate/KDevelop: Built-in LSP support
  • Any LSP-compatible editor: Universal Language Server Protocol support
🚀 Toujours en avance sur les archives officielles : Debian et Ubuntu figent les versions des paquets à chaque publication — ce dépôt publie les nouvelles versions upstream généralement en quelques heures. Un simple apt upgrade vous garde toujours à la dernière version.

📦 Installation depuis deb.griffo.io

Exécuter les commandes

Étape 1 : Ajouter le dépôt

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 2>/dev/null) 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 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update

Étape 2 : Installer ZLS

# Installer la dernière version stable ZLS
sudo apt installer zls

# Ou installerer les versions nocturnes for cutting-edge features
sudo apt installer zls-master

# Vérifier l'installeration
zls --version
# Installer la dernière version stable ZLS
apt installer zls

# Ou installerer les versions nocturnes for cutting-edge features
apt installer zls-master

# Vérifier l'installeration
zls --version

🎯 Editor Setup Examples

VS Code setup:

# Install Zig extension from marketplace
# Extension automatically detects ZLS if installered in PATH

# Or configure custom ZLS path in settings.json:
{
    "zig.zls.path": "/usr/bin/zls"
}

Neovim setup (with nvim-lspconfig):

-- In your init.lua
require('lspconfig').zls.setup{
    cmd = { "zls" },
    filetypes = { "zig" },
    root_dir = require('lspconfig.util').root_pattern("build.zig", ".git"),
}

Basic ZLS configuration:

# Create ZLS config file
mkdir -p ~/.config/zls
cat > ~/.config/zls/zls.json << 'EOF'
{
    "enable_semantic_tokens": true,
    "enable_inlay_hints": true,
    "enable_snippets": true,
    "warn_style": true,
    "highlight_global_var_declarations": true
}
EOF

🚀 Pourquoi choisir deb.griffo.io ?

📊 Repository Comparison:
  • Official Debian: ZLS not available in official repositories
  • Manual Compilation: Requires Zig master and complex build process
  • Binary Downloads: Manual updates and no package management
  • deb.griffo.io: Latest version with automatic updates

📦 Dépôt de construction de paquets

Les paquets Debian sont automatiquement construits et maintenus dans ces dépôts GitHub :

🔗 Paquets associés

Également disponible depuis deb.griffo.io :

🎯 Parfait pour : Zig developers who want modern IDE features, teams working on large Zig projects, anyone wanting autocomplete and navigation in their editor, and developers who appreciate productive development environments.

📦 Dernières versions publiées par ce dépôt

❓ Questions fréquentes

ZLS est-il dans les dépôts officiels de Debian ?

Non — ZLS n'est pas empaqueté dans les archives officielles de Debian. Ce dépôt est actuellement la seule source apt et propose ZLS 0.16.0.

Comment installer le dernier ZLS sur Debian ?

Ajoutez le dépôt deb.griffo.io une seule fois (instructions ci-dessus), puis exécutez : sudo apt install zls. Les nouvelles versions arrivent via le sudo apt upgrade habituel.

Les paquets sont-ils signés et comment sont-ils construits ?

Chaque paquet est signé avec la clé GPG du dépôt (EA0F721D231FDD3A0A17B9AC7808B4DD62C41256) et construit à partir des versions upstream dans des dépôts GitHub publics que chacun peut inspecter.

Quelles versions de Debian sont prises en charge ?

Debian 12 Bookworm, Debian 13 Trixie, Forky et Sid.