# Installer yamllint avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de yamllint pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:yamllint
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install yamllint
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yamllint
```

  Preuve: MacPorts ports tree: devel/yamllint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add yamllint
```

  Preuve: Alpine Linux edge package indexes: yamllint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install yamllint
```

  Preuve: Debian stable package indexes: yamllint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install yamllint
```

  Preuve: Fedora Rawhide package metadata: yamllint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#yamllint
```

  Preuve: nixpkgs package indexes: yamllint from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S yamllint
```

  Preuve: Arch Linux sync databases: yamllint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:yamllint
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.38.0
- **Résumé source:** Linter for YAML files
- **Page d'accueil:** <https://github.com/adrienverge/yamllint>
- **Dépôt:** <https://github.com/adrienverge/yamllint>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- yamllint (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.38.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://api.github.com/repos/adrienverge/yamllint>
- <https://github.com/adrienverge/yamllint>
- <https://raw.githubusercontent.com/adrienverge/yamllint/master/README.rst>
- <https://yamllint.readthedocs.io/en/stable/configuration.html>
- <https://yamllint.readthedocs.io/en/stable/quickstart.html>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


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

- Unix: .yamllint, .yamllint.yaml, .yamllint.yml, $YAMLLINT_CONFIG_FILE, $XDG_CONFIG_HOME/yamllint/config, ~/.config/yamllint/config
## Autres enregistrements de gestionnaires de paquets

- Debian apt - yamllint - 1.37.1-1: normalized package name match | Debian stable package indexes: yamllint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Linter for YAML files | https://github.com/adrienverge/yamllint
- Nix - yamllint: normalized package name match | nixpkgs package indexes: yamllint from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - yamllint - 1.33.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: yamllint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Linter for YAML files | https://github.com/adrienverge/yamllint
- apk - yamllint - 1.38.0-r0: normalized package name match | Alpine Linux edge package indexes: yamllint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A linter for YAML files | https://github.com/adrienverge/yamllint
- apk - yamllint-pyc - 1.38.0-r0: normalized package name match | Alpine Linux edge package indexes: yamllint-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for yamllint | https://github.com/adrienverge/yamllint
- dnf - yamllint - 1.38.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: yamllint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A linter for YAML files | https://github.com/adrienverge/yamllint
- pacman - yamllint - 1.38.0-1: normalized package name match | Arch Linux sync databases: yamllint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Linter for YAML files | https://github.com/adrienverge/yamllint
- MacPorts - yamllint: normalized package name match | MacPorts ports tree: devel/yamllint/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/yamllint.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yamllint.yml)


## Sources

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