🆓 永久免费 — 由开源许可证保障

这里的每个工具都是开源软件;其许可证保障了使用与再分发的权利。本镜像正是这一承诺的实践:提供每个软件包发布至少 2 个月的最新版本,永久免费 — 无需账号,无需认证。
安全修复与补丁会立即发布。想在上游发布后数小时内获得每个版本?请使用主仓库 deb.griffo.io。🚀

💬 有问题或建议?加入我们的 Discord 社区 — 获取帮助的最佳去处。

🇿 安装最新的 ZLS 在 Debian 上

Zig Language Server for IDE features and development productivity

⏳ 尚未加入免费镜像 — 可从主仓库 deb.griffo.io 获取
ZLS 尚未加入免费镜像。免费镜像目前提供 Ghostty、Zed 和 Oh My Posh,更多工具即将加入。请从主仓库 deb.griffo.io获取 ZLS — 每个版本在上游发布后数小时内可用。
来源版本
deb.griffo.io (main)0.15.1 ✅
官方 Debian🚫 未收录
← 返回首页

什么是 ZLS?

ZLS (Zig Language Server) is a 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.

🚀 Why Latest Versions Matter: ZLS is rapidly evolving alongside Zig itself, with frequent releases containing new language feature support, performance improvements, and enhanced IDE capabilities. The latest 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
🚀 永久免费,安全修复立即发布:Debian 和 Ubuntu 在发布时会冻结软件包版本——本免费镜像提供发布至少 2 个月的最新版本,永久免费;安全修复立即发布。如需在上游发布后数小时内获取每个版本,请使用主仓库 deb.griffo.io。只需 apt upgrade 即可获取免费通道内的最新构建。

📦 从 deb-free.griffo.io 安装

步骤 1:添加仓库

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

步骤 2:安装 ZLS

# Install latest stable ZLS sudo apt install zls # Or install nightly builds for cutting-edge features sudo apt install zls-master # Verify installation zls --version
# Install latest stable ZLS apt install zls # Or install nightly builds for cutting-edge features apt install zls-master # Verify installation zls --version

🎯 Editor Setup Examples

VS Code setup:

# Install Zig extension from marketplace # Extension automatically detects ZLS if installed 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

🚀 为什么选择 deb-free.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 (main): Latest version with automatic updates

📦 软件包构建仓库

Debian 软件包在这些 GitHub 仓库中自动构建和维护:

🔗 相关软件包

也可从 deb-free.griffo.io 获取:

🎯 Perfect for: 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.

📦 deb.griffo.io(主仓库)最近发布

❓ 常见问题

ZLS 在官方 Debian 软件源中吗?

不在 — 官方 Debian 源没有打包 ZLS。本免费镜像提供发布至少 2 个月的最新 ZLS 版本;主仓库 deb.griffo.io 在上游发布后数小时内提供每个版本。

如何在 Debian 上安装最新版 ZLS?

按上方说明一次性添加 deb-free.griffo.io 仓库,然后运行:sudo apt install zls。之后通过常规的 sudo apt upgrade 获取新版本。

软件包是否有签名?如何构建?

每个软件包都使用仓库的 GPG 密钥(EA0F721D231FDD3A0A17B9AC7808B4DD62C41256)签名,并基于上游发布在公开的 GitHub 仓库中构建,任何人都可以审查。

支持哪些 Debian 版本?

Debian 12 Bookworm、Debian 13 Trixie、Forky 和 Sid。