pkg.soopen package index

brew / rang 1183

Installer yamlfmt avec Homebrew, apk, Nix, pacman, scoop

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install yamlfmt

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add yamlfmt

Alpine Linux edge package indexes · yamlfmt · Source: dl-cdn.alpinelinux.org

Nixvérifié · 92%
nix profile install nixpkgs#yamlfmt

nixpkgs package indexes · pkgs/by-name/ya/yamlfmt/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S yamlfmt

Arch Linux sync databases · yamlfmt · Source: geo.mirror.pkgbuild.com

Windows

Scoopvérifié · 92%
scoop install main/yamlfmt

Scoop official bucket manifest trees · bucket/yamlfmt.json · Source: api.github.com

aperçu

Résumé du paquet

Extensible command-line tool to format YAML files

Commandes et alias

  • yamlfmt

historique

Historique du projet et usages

Google yamlfmt is a Go command-line formatter and library for YAML files. Its goals are explicit: be easy to distribute as a single binary, be extensible with custom formatters, and be usable as a library foundation for teams that need a customized YAML formatter.

Historique du projet

The repository was created on 2022-08-10. The README describes the project as an extensible formatter rather than only a fixed style tool: users can run the `yamlfmt` command, install it as a pre-commit hook, use a container image, or build on the library APIs.

The project grew around formatter backends and configuration. The default `basic` formatter serializes YAML through a fork of gopkg.in/yaml.v3, while the `kyaml` formatter targets Kubernetes YAML style. The docs also record caveats around YAML directives, anchors, aliases, line breaks, and line-length behavior, showing the practical complexity behind YAML formatting.

Historique d'adoption

yamlfmt has a broad package-manager footprint in the supplied data, including Homebrew, Nix, apk, pacman, and Scoop. Its README also presents Go installation, release binaries, pre-commit integration, and a container image, which fits modern developer-tool adoption through local hooks and CI checks.

The repository lives under the Google organization but the README states that it is not officially supported by Google and is maintained primarily by an individual maintainer in spare time. That makes it an interesting case where a high-visibility org namespace helped adoption of a still-community-paced developer tool.

Modes d'utilisation

Basic usage is `yamlfmt x.yaml y.yaml ...` or `yamlfmt .`, where directories are searched recursively for `.yaml` and `.yml` files. The `-dstar` mode enables doublestar glob matching, and `-lint` supports CI workflows that check formatting without rewriting files.

Configuration is discovered from a `-conf` flag, the working directory, ancestor directories, or a system config directory. Supported config filenames include `.yamlfmt`, `yamlfmt.yml`, `yamlfmt.yaml`, `.yamlfmt.yaml`, and `.yamlfmt.yml`.

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

yamlfmt is package-nerd significant because it packages the messy YAML-formatting problem as a distributable Go binary with docs for hooks, containers, global config, and release artifact verification.

It also represents the split in YAML tooling between generic style normalization and domain-specific formats such as Kubernetes KYAML, a distinction that matters to maintainers choosing formatter defaults for large repositories.

Chronologie

  • 2022-08-10: GitHub repository created.
  • 2020s: Project goals documented around single-binary distribution, custom formatter extension, and library use.
  • 2020s: Configuration discovery documented across local project files, ancestor search, and platform config directories.
  • 2020s: README documented pre-commit, container, and CI usage patterns.

Related projects

  • Related projects and technologies include gopkg.in/yaml.v3, Kubernetes KYAML, pre-commit, bmatcuk/doublestar, cosign, and container-based CI runners.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des 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
.yamlfmtyamlfmt.ymlyamlfmt.yaml.yamlfmt.yaml.yamlfmt.yml$XDG_CONFIG_HOME/yamlfmt/.yamlfmt~/.config/yamlfmt/.yamlfmt
Windows
%LOCALAPPDATA%\yamlfmt\.yamlfmt

exécutables

Exécutables installés

CommandeTypeExpositionNote
yamlfmtexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-08-03
version du gestionnaire0.21.0
gestionnaire mis à jour2026-07-25
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:yamlfmt
Version0.21.0
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://github.com/google/yamlfmt
Dépôthttps://github.com/google/yamlfmt
Dernière mise à jour2026-07-25T21:32:48+02:00
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

yamlfmt

nix profile install nixpkgs#yamlfmt
  • normalized package name match
  • Correspondance par : Yamlfmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ya/yamlfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

yamlfmt 0.21.0-r6

An extensible command line tool or library to format yaml files

https://github.com/google/yamlfmt

sudo apk add yamlfmt
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: yamlfmt
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Yamlfmt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yamlfmt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

yamlfmt-doc 0.21.0-r6

An extensible command line tool or library to format yaml files (documentation)

https://github.com/google/yamlfmt

sudo apk add yamlfmt-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: yamlfmt
  • normalized package name match
  • Correspondance par : Yamlfmt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yamlfmt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

yamlfmt 0.21.0-1

An extensible command line tool or library to format yaml files.

https://github.com/google/yamlfmt

sudo pacman -S yamlfmt
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Yamlfmt
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yamlfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop95%

main/yamlfmt

scoop install main/yamlfmt
  • normalized package name match
  • Correspondance par : Yamlfmt
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/yamlfmt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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