# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/yaml-language-server>
- **バージョン:** 1.24.0
- **ソース概要:** Language Server for Yaml Files
- **ホームページ:** <https://github.com/redhat-developer/yaml-language-server>
- **リポジトリ:** <https://github.com/redhat-developer/yaml-language-server>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/yaml-language-server/-/yaml-language-server-1.24.0.tgz>
- **最終更新:** 2026-07-08T21:42:21Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.24.0
- マネージャ更新日: 2026-07-08
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/redhat-developer/yaml-language-server
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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 を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** yaml-language-server
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [check-jsonschema](https://pkg.so/ja/brew/check-jsonschema/) - Shares pkgdb curated category or tags: cli, developer-tools, json-schema, validation.
- [yamale](https://pkg.so/ja/brew/yamale/) - Shares pkgdb curated category or tags: cli, developer-tools, validation, yaml.
- [action-validator](https://pkg.so/ja/brew/action-validator/) - Shares pkgdb curated category or tags: cli, developer-tools, validation, yaml.
- [config-file-validator](https://pkg.so/ja/brew/config-file-validator/) - Shares pkgdb curated category or tags: cli, developer-tools, validation, yaml.
- [actions-languageserver](https://pkg.so/ja/brew/actions-languageserver/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, yaml.
- [yq](https://pkg.so/ja/brew/yq/) - Shares pkgdb curated category or tags: cli, developer-tools, yaml.
- [kubeconform](https://pkg.so/ja/brew/kubeconform/) - Shares pkgdb curated category or tags: cli, developer-tools, json-schema, validation.
- [python-yq](https://pkg.so/ja/brew/python-yq/) - Shares pkgdb curated category or tags: cli, developer-tools, yaml.
- [yaml-language-server](https://pkg.so/ja/npm/yaml-language-server/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, developer, developer-tools, language, server.
- [perlnavigator](https://pkg.so/ja/brew/perlnavigator/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, editor, editor-integration.
- [yaml-language-server](https://pkg.so/ja/npm/yaml-language-server/) - Same normalized package name in another local ecosystem.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
