pkg.soopen package index

brew / 排名 801

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 yamllint

查看 yamllint 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install yamllint

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install yamllint

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add yamllint

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

Debian apt已验证 · 92%
sudo apt install yamllint

Debian stable package indexes · yamllint · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install yamllint

Fedora Rawhide package metadata · yamllint · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#yamllint

nixpkgs package indexes · yamllint · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S yamllint

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

概览

软件包摘要

Linter for YAML files

命令和别名

  • yamllint

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
yamllint可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.38.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:yamllint
版本1.38.0
软件包管理器Homebrew
主页https://github.com/adrienverge/yamllint
仓库https://github.com/adrienverge/yamllint
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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