# 使用 Homebrew, apk, dnf, Nix 安装 vala-language-server

查看 vala-language-server 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:vala-language-server
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vala-language-server
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add vala-language-server
```

  证据: Alpine Linux edge package indexes: vala-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install vala-language-server
```

  证据: Fedora Rawhide package metadata: vala-language-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#vala-language-server
```

  证据: nixpkgs package indexes: pkgs/by-name/va/vala-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:vala-language-server
- **软件包管理器:** Homebrew
- **版本:** 0.48.7
- **来源摘要:** Code Intelligence for Vala & Genie
- **主页:** <https://github.com/vala-lang/vala-language-server>
- **仓库:** <https://github.com/vala-lang/vala-language-server>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vala-language-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.48.7
## 项目历史与用法

Vala Language Server provides Language Server Protocol-style code intelligence for Vala and Genie. It is a developer-tool companion to the Vala compiler, giving editors diagnostics, completion, symbol navigation, hover information, formatting, code actions, call hierarchy, inlay hints, and project awareness.

### 项目历史

The public repository presents Vala Language Server as the language server for the Vala programming language and shows a codebase written almost entirely in Vala. Its earliest GitHub pre-release in April 2020 was in the 0.48 alpha series, aligning the server with Vala 0.48-era compiler libraries.

The 0.48 release series continued through 2023. GitHub releases show 0.48-alpha3 in April 2020, 0.48 in May 2020, and 0.48.7 in February 2023.

### 采用历史

The README documents installation across Arch/AUR, OBS-backed packages for several distributions, Fedora, elementaryOS, Alpine, Guix, Void, and MSYS2 on Windows. That package spread is notable for a niche language tool, and the input also lists Homebrew, apk, dnf, and Nix packages.

GNOME tooling helped drive adoption. A 2022 This Week in GNOME note explained that after GNOME Builder 43 stopped bundling the Vala Language Server, Flatpak SDK users needed the language server from the Vala Flatpak SDK and other users needed to install it on their system.

### 使用方式

VLS is launched by editors as `vala-language-server`. The README provides concrete configuration snippets for coc.nvim, vim-lsp, Neovim's lspconfig, Sublime Text LSP, and notes support in VS Code, GNOME Builder, Kate, and Emacs.

Like other compiled-language servers, VLS depends on project context. The README warns that it cannot know compiler arguments unless it can locate a build script, `compile_commands.json`, or a shebang, and it documents supported project types including Meson, CMake, Autotools, compile commands, and Vala scripts.

### 为什么软件包爱好者会关心

For package nerds, Vala Language Server is the small but important bridge between a distribution-provided compiler stack and modern editor workflows. Installing it from Homebrew or a distro package turns Vala from a plain `valac` command into a language with completion, diagnostics, and navigation in generic LSP-capable editors.

It also exposes the packaging awkwardness of language servers for niche languages: editor plugins, Flatpak SDK extensions, distro packages, and compiler library versions all have to line up for the server to be useful.

### 时间线

- 2020: 0.48-alpha3 and 0.48-alpha4 pre-releases are published.
- 2020: 0.48 release is published.
- 2022: GNOME Builder 43 no longer bundles VLS, shifting users toward SDK or system installs.
- 2023: 0.48.7 is published as the latest release shown by GitHub.

### Related projects

- Vala and libvala provide the compiler stack VLS depends on.
- GNOME Builder, VS Code, Vim, Neovim, Kate, Emacs, and Sublime Text are editor surfaces documented by the project.
- Meson, CMake, Autotools, and `compile_commands.json` are project-discovery mechanisms VLS understands.

### 来源

- <https://api.github.com/repos/vala-lang/vala-language-server/releases?per_page=100>
- <https://github.com/vala-lang/vala-language-server>
- <https://github.com/vala-lang/vala-language-server/releases>
- <https://thisweek.gnome.org/posts/2022/10/twig-64/>
- source_facts.package-manager


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Nix - vala-language-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/va/vala-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - vala-language-server - 0.48.7-r1: normalized package name match | Alpine Linux edge package indexes: vala-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Code Intelligence for Vala | https://github.com/vala-lang/vala-language-server
- apk - vala-language-server-dbg - 0.48.7-r1: normalized package name match | Alpine Linux edge package indexes: vala-language-server-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Code Intelligence for Vala (debug symbols) | https://github.com/vala-lang/vala-language-server
- apk - vala-language-server-doc - 0.48.7-r1: normalized package name match | Alpine Linux edge package indexes: vala-language-server-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Code Intelligence for Vala (documentation) | https://github.com/vala-lang/vala-language-server
- dnf - vala-language-server - 0.48.7-7.fc45: normalized package name match | Fedora Rawhide package metadata: vala-language-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Language server for the Vala programming language | https://github.com/Prince781/vala-language-server


## Combined YAML source

View the package source record on GitHub. [combined/vala-language-server.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vala-language-server.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
