pkg.soopen package index

brew / rank 801

Install yamllint with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman

Linter for YAML files. Version 1.38.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install yamllint.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install yamllint

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install yamllint

MacPorts ports tree · devel/yamllint/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add yamllint

Alpine Linux edge package indexes · yamllint · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install yamllint

Debian stable package indexes · yamllint · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install yamllint

Fedora Rawhide package metadata · yamllint · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#yamllint

nixpkgs package indexes · yamllint · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S yamllint

Arch Linux sync databases · yamllint · source: geo.mirror.pkgbuild.com

overview

Package summary

Linter for YAML files

Commands and aliases

  • yamllint

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016-01-11: GitHub repository created.
  • 2010s: Documentation established the rule-based model, default and relaxed configurations, and project-local config files.
  • 2020s: Quickstart documented packages across major Linux/BSD/macOS ecosystems plus pip and source installation.
  • 2020s: Editor and software-integration docs positioned parsable output for automation and editor feedback.

Related projects

  • Related tools and contexts include YAML parsers, editor integrations, CI systems, Ansible, Kubernetes-oriented YAML workflows, formatters such as yamlfmt and yamlfix, and project-local lint configs.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.yamllint.yamllint.yaml.yamllint.yml$YAMLLINT_CONFIG_FILE$XDG_CONFIG_HOME/yamllint/config~/.config/yamllint/config

executables

Installed executables

CommandKindExposureNote
yamllintexecutableindexed executableDiscovered from the local executable index.

freshness

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

page generated2026-08-03
manager version1.38.0
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:yamllint
Version1.38.0
Package managerHomebrew
Homepagehttps://github.com/adrienverge/yamllint
Repositoryhttps://github.com/adrienverge/yamllint
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

yamllint 1.37.1-1

Linter for YAML files

https://github.com/adrienverge/yamllint

sudo apt install yamllint
  • Section: devel
  • Architecture: all
  • 3 dependencies
  • normalized package name match
  • Matched by: Yamllint
Debian stable package indexes · deb.debian.org · Debian stable package indexes: yamllint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

yamllint

nix profile install nixpkgs#yamllint
  • normalized package name match
  • Matched by: Yamllint
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: yamllint from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

yamllint 1.33.0-1

Linter for YAML files

https://github.com/adrienverge/yamllint

sudo apt install yamllint
  • Section: universe/devel
  • Architecture: all
  • 4 dependencies
  • normalized package name match
  • Matched by: Yamllint
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yamllint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

yamllint 1.38.0-r0

A linter for YAML files

https://github.com/adrienverge/yamllint

sudo apk add yamllint
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: yamllint
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Yamllint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yamllint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

yamllint-pyc 1.38.0-r0

Precompiled Python bytecode for yamllint

https://github.com/adrienverge/yamllint

sudo apk add yamllint-pyc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: yamllint
  • 1 dependencies
  • normalized package name match
  • Matched by: Yamllint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yamllint-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

yamllint 1.38.0-3.fc45

A linter for YAML files

https://github.com/adrienverge/yamllint

sudo dnf install yamllint
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: yamllint
  • 3 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Yamllint
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yamllint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

yamllint 1.38.0-1

Linter for YAML files

https://github.com/adrienverge/yamllint

sudo pacman -S yamllint
  • License: GPL-3.0-or-later
  • Architecture: any
  • 3 dependencies
  • normalized package name match
  • Matched by: Yamllint
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yamllint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

yamllint

sudo port install yamllint
  • normalized package name match
  • Matched by: Yamllint
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/yamllint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation