# yaml-language-server を Homebrew, apk, MacPorts, Nix, pacman でインストール

yaml-language-server のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install yaml-language-server
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yaml-language-server
```

  証拠: MacPorts ports tree: devel/yaml-language-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

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

  証拠: Alpine Linux edge package indexes: yaml-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

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

  証拠: 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

- pacman (92%):

```sh
sudo pacman -S yaml-language-server
```

  証拠: Arch Linux sync databases: yaml-language-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:yaml-language-server
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.24.0
- **ソース概要:** Language Server for Yaml Files
- **ホームページ:** <https://github.com/redhat-developer/yaml-language-server>
- **最終更新:** 2026-07-08T21:42:21Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- yaml-language-server (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.24.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/redhat-developer/yaml-language-server>
- <https://developers.redhat.com/blog/2017/10/18/yaml-language-server-extension-vs-code>
- <https://github.com/redhat-developer/yaml-language-server#readme>
- <https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml>
- <https://registry.npmjs.org/yaml-language-server>


## セキュリティノート

yaml-language-server に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

- Nix - yaml-language-server: normalized package name match | 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
- apk - yaml-language-server - 1.24.0-r0: normalized package name match | Alpine Linux edge package indexes: yaml-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Language Server for YAML Files | https://github.com/redhat-developer/yaml-language-server
- apk - yaml-language-server-doc - 1.24.0-r0: normalized package name match | Alpine Linux edge package indexes: yaml-language-server-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Language Server for YAML Files (documentation) | https://github.com/redhat-developer/yaml-language-server
- pacman - yaml-language-server - 1.23.0-1: normalized package name match | Arch Linux sync databases: yaml-language-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | YAML Language Server | https://github.com/redhat-developer/yaml-language-server
- MacPorts - yaml-language-server: normalized package name match | MacPorts ports tree: devel/yaml-language-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/yaml-language-server.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yaml-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
