macOS
brew install yamllintlocal Homebrew formula metadata
sudo port install yamllintMacPorts ports tree · devel/yamllint/Portfile · source: api.github.com
brew
Linter for YAML files. Version 1.38.0 via Homebrew; verified from local package data.
install
brew install yamllintlocal Homebrew formula metadata
sudo port install yamllintMacPorts ports tree · devel/yamllint/Portfile · source: api.github.com
sudo apk add yamllintAlpine Linux edge package indexes · yamllint · source: dl-cdn.alpinelinux.org
sudo apt install yamllintDebian stable package indexes · yamllint · source: deb.debian.org
sudo dnf install yamllintFedora Rawhide package metadata · yamllint · source: dl.fedoraproject.org
nix profile install nixpkgs#yamllintnixpkgs package indexes · yamllint · source: raw.githubusercontent.com
sudo pacman -S yamllintArch Linux sync databases · yamllint · source: geo.mirror.pkgbuild.com
overview
Linter for YAML files
history
yamllint is a Python linter for YAML files. It checks syntax validity, duplicate keys, and style problems such as line length, trailing spaces, indentation, comments, and document markers.
The GitHub repository was created on 2016-01-11. From the beginning of its public documentation, yamllint occupied the linter niche rather than the formatter niche: it reports problems and lets users tune rules rather than rewriting files wholesale.
The official docs organize the project around a rule system. Each rule is independent and can be enabled, disabled, or configured, with bundled `default` and `relaxed` configurations and custom configuration through files, inline `-d` values, or comments that disable checks in selected places.
yamllint became the default YAML linting package across many Unix-like environments. The official quickstart documents installation on Fedora/CentOS, Debian/Ubuntu, macOS through Homebrew, FreeBSD, OpenBSD, Alpine Linux, pip, and source builds.
Its adoption tracks YAML becoming infrastructure glue: CI definitions, Ansible playbooks, Kubernetes manifests, packaging metadata, and documentation configs all benefit from a linter that catches both invalid YAML and review-noise style drift.
Common usage is `yamllint file.yml other-file.yaml`, `yamllint .` for a directory, or `echo ... | yamllint -` for stdin. Output formats include standard terminal output and parsable output for editor integrations.
Configuration is normally kept in `.yamllint`, `.yamllint.yaml`, or `.yamllint.yml` in a project tree, a file referenced by `YAMLLINT_CONFIG_FILE`, or XDG config paths. Configurations can extend the default ruleset and adjust rule severity to warnings or errors.
yamllint is one of the canonical examples of a small language-specific linter becoming packaging infrastructure. It is not tied to one YAML-using ecosystem, so it appears wherever maintainers need reproducible checks for human-edited YAML.
It also matters because YAML has edge cases that parsers may accept but humans do not want in shared repos, such as duplicate keys, truthy values, bad indentation, and noisy whitespace. yamllint gives package maintainers a standard policy layer for those files.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.yamllint.yamllint.yaml.yamllint.yml$YAMLLINT_CONFIG_FILE$XDG_CONFIG_HOME/yamllint/config~/.config/yamllint/configexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
yamllint | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/adrienverge/yamllint
install metadata
| Package key | brew:yamllint |
|---|---|
| Version | 1.38.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/yamllint |
| Homepage | https://github.com/adrienverge/yamllint |
| Repository | https://github.com/adrienverge/yamllint |
| Upstream docs | https://yamllint.readthedocs.io/ |
| License | GPL-3.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/28/a0/8fc2d68e132cf918f18273fdc8a1b8432b60d75ac12fdae4b0ef5c9d2e8d/yamllint-1.38.0.tar.gz |
| Dependencies | libyaml, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | yamllint |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
yamllint 1.37.1-1
Linter for YAML files
https://github.com/adrienverge/yamllint
sudo apt install yamllintyamllint
nix profile install nixpkgs#yamllintyamllint 1.33.0-1
Linter for YAML files
https://github.com/adrienverge/yamllint
sudo apt install yamllintyamllint 1.38.0-r0
A linter for YAML files
https://github.com/adrienverge/yamllint
sudo apk add yamllintyamllint-pyc 1.38.0-r0
Precompiled Python bytecode for yamllint
https://github.com/adrienverge/yamllint
sudo apk add yamllint-pycyamllint 1.38.0-2.fc45
A linter for YAML files
https://github.com/adrienverge/yamllint
sudo dnf install yamllintyamllint 1.38.0-1
Linter for YAML files
https://github.com/adrienverge/yamllint
sudo pacman -S yamllintyamllint
sudo port install yamllintsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.