# Install yaml-language-server with Homebrew, apk, Nix, pacman

Language Server for Yaml Files. Version 1.23.0 via Homebrew; verified 2026-05-08.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

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

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:yaml-language-server
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/yaml-language-server>
- **Version:** 1.23.0
- **Source summary:** Language Server for Yaml Files
- **Homepage:** <https://github.com/redhat-developer/yaml-language-server>
- **Repository:** <https://github.com/redhat-developer/yaml-language-server>
- **Upstream docs:** <https://github.com/redhat-developer/yaml-language-server#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/yaml-language-server/-/yaml-language-server-1.23.0.tgz>
- **Last updated:** 2026-05-08T22:26:18Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- yaml-language-server (cli)
- yaml-language-server (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.23.0
- Package-manager updated: 2026-05-08
- Local data: ok
- Upstream repository: https://github.com/redhat-developer/yaml-language-server
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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 history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

No matching local secret-handling manifest was found for yaml-language-server. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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

## Other Package-Manager Records

- 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.23.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.23.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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [ccls](https://www.automicvault.com/pkg/brew/ccls/) - Shares av.db curated category or tags: cli, developer-tools, language-server, language-server-protocol.
- [codebook-lsp](https://www.automicvault.com/pkg/brew/codebook-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server.
- [dhall-lsp-server](https://www.automicvault.com/pkg/brew/dhall-lsp-server/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server.
- [docker-compose-langserver](https://www.automicvault.com/pkg/brew/docker-compose-langserver/) - Shares av.db curated category or tags: cli, developer-tools, language-server, yaml.
- [efm-langserver](https://www.automicvault.com/pkg/brew/efm-langserver/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server.
- [fish-lsp](https://www.automicvault.com/pkg/brew/fish-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server.
- [gopls](https://www.automicvault.com/pkg/brew/gopls/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server.
- [jq-lsp](https://www.automicvault.com/pkg/brew/jq-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server.
- [yaml-language-server](https://www.automicvault.com/pkg/npm/yaml-language-server/) - Same normalized package name appears in another local ecosystem. Shared terms: json, language, server, yaml, yaml-language-server.
- [purescript-language-server](https://www.automicvault.com/pkg/brew/purescript-language-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, editor, language.
- [sql-language-server](https://www.automicvault.com/pkg/brew/sql-language-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, editor, language.
- [yaml-language-server](https://www.automicvault.com/pkg/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/automic-vault/db/blob/main/combined/yaml-language-server.yml)


## Sources

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