Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix, pacman 安装 yaml-language-server

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install yaml-language-server

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add yaml-language-server

Alpine Linux edge package indexes · yaml-language-server · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#yaml-language-server

nixpkgs package indexes · pkgs/by-name/ya/yaml-language-server/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S yaml-language-server

Arch Linux sync databases · yaml-language-server · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Language Server for Yaml Files

命令和别名

  • yaml-language-server

历史

项目历史与用法

YAML Language Server is Red Hat's Language Server Protocol implementation for YAML files. It brings schema-backed validation, completion, hover, formatting, document symbols, Kubernetes awareness, and SchemaStore integration to editors that can speak LSP.

项目历史

The GitHub repository was created in July 2017. Red Hat's October 2017 launch article says the work began around Kubernetes syntax support, then broadened into a general YAML language server with built-in Kubernetes support as the team saw a wider opportunity.

The server was published as an npm package in September 2017 and used by Red Hat's VS Code YAML extension, Eclipse Che, and other editor integrations. The README later records major parser and schema support evolution: JSON Schema drafts 04, 07, 2019-09, and 2020-12, and the 1.0.0 switch to the `eemeli/yaml` parser with strict YAML version handling.

采用历史

Adoption followed the Language Server Protocol pattern: one server package could power multiple editors instead of each editor maintaining its own YAML intelligence. Red Hat's VS Code Marketplace listing describes the extension as YAML support via yaml-language-server with built-in Kubernetes syntax support, and shows a large installed base for the extension.

The server became especially valuable as YAML became the configuration language for Kubernetes, CI systems, Compose files, package metadata, and infrastructure tools. Schema association through JSON Schema Store let the same server understand many file types without hard-coding every ecosystem.

使用方式

Package users normally install the `yaml-language-server` executable and let an editor client launch it over stdio or another LSP transport. Configuration maps schemas to glob patterns, toggles validation, hover, completion, formatting, SchemaStore, Kubernetes CRD discovery, custom YAML tags, key ordering, and YAML 1.1 versus 1.2 parsing behavior.

Its practical value is editor feedback before a YAML file reaches a cluster, CI runner, package tool, or deployment system: bad structure, unknown keys, type errors, and schema mismatches become diagnostics and completions during editing.

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

YAML Language Server is package-nerd glue for the LSP era. It turns a messy, indentation-sensitive data language into reusable editor infrastructure, and its Homebrew/npm-style CLI package matters because editors, terminals, and non-VS Code clients can all share the same server.

时间线

  • 2017-07: The public GitHub repository was created.
  • 2017-09: npm records the first `yaml-language-server` package publication.
  • 2017-10: Red Hat announced the YAML Language Server and VS Code extension, noting npm availability, Eclipse Che integration, and early reuse by Atom's ide-yaml package.
  • 2021: npm records the 1.0.0 release; the README says 1.0.0 switched to the `eemeli/yaml` parser.
  • 2020s: The README documents JSON Schema draft 04, 07, 2019-09, and 2020-12 support plus SchemaStore and Kubernetes CRD integration.

Related projects

  • vscode-yaml is Red Hat's VS Code extension that uses yaml-language-server.
  • JSON Schema Store provides many schemas consumed through the server's schema-store integration.
  • eemeli/yaml is the YAML parser used by the server starting with the 1.0.0 line.

安全态势

尚未找到受保护工具覆盖

没有找到 yaml-language-server 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
yaml-language-servercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.24.0
管理器更新时间2026-07-08
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/redhat-developer/yaml-language-server

安装元数据

软件包元数据

软件包键brew:yaml-language-server
版本1.24.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/yaml-language-server
主页https://github.com/redhat-developer/yaml-language-server
仓库https://github.com/redhat-developer/yaml-language-server
上游文档https://github.com/redhat-developer/yaml-language-server#readme
许可证MIT
源码归档https://registry.npmjs.org/yaml-language-server/-/yaml-language-server-1.24.0.tgz
最后更新2026-07-08T21:42:21Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameyaml-language-server
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

yaml-language-server

nix profile install nixpkgs#yaml-language-server
  • normalized package name match
  • 匹配方式:Yaml Language Server
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ya/yaml-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

yaml-language-server 1.23.0-r0

Language Server for YAML Files

https://github.com/redhat-developer/yaml-language-server

sudo apk add yaml-language-server
  • License: MIT
  • Architecture: x86_64
  • Source Package: yaml-language-server
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Yaml Language Server
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yaml-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

yaml-language-server-doc 1.23.0-r0

Language Server for YAML Files (documentation)

https://github.com/redhat-developer/yaml-language-server

sudo apk add yaml-language-server-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: yaml-language-server
  • normalized package name match
  • 匹配方式:Yaml Language Server
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yaml-language-server-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

yaml-language-server 1.23.0-1

YAML Language Server

https://github.com/redhat-developer/yaml-language-server

sudo pacman -S yaml-language-server
  • License: MIT
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Yaml Language Server
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yaml-language-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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