# Installer cfn-format avec Homebrew

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

## installation

```sh
sudo av install brew:cfn-format
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cfn-format
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:cfn-format
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.24.4
- **Résumé source:** Command-line tool for formatting AWS CloudFormation templates
- **Page d'accueil:** <https://github.com/aws-cloudformation/rain>
- **Dépôt:** <https://github.com/aws-cloudformation/rain>
- **Dernière mise à jour:** 2026-07-25T14:20:49-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cfn-format (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

cfn-format is the Homebrew-packaged command built from the AWS CloudFormation rain repository's `cmd/cfn-format`, focused on checking and formatting AWS CloudFormation templates.

### Historique du projet

The upstream rain repository was created in 2019 and describes rain as a development workflow tool for AWS CloudFormation templates and stacks. Its README lists consistent formatting of CloudFormation templates as a key feature of `rain fmt`, including JSON/YAML conversion and YAML comment preservation.

### Historique d'adoption

Homebrew packages `cfn-format` separately from rain, building the `./cmd/cfn-format` target from the rain source repository. This gives package users a narrower formatter binary without installing the broader rain workflow CLI name.

### Modes d'utilisation

The Homebrew formula test runs `cfn-format -v test.template` and expects a formatted-ok message. The rain README documents the broader formatter behavior under `rain fmt`.

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

cfn-format is package-nerd-interesting because it exposes one subcommand-sized slice of a larger CloudFormation workflow tool as its own formula, the kind of tiny binary split that helps scripts depend on exactly the formatter they need.

### Chronologie

- 2019: rain GitHub repository metadata records public repository creation.
- 2019: GitHub release metadata records rain v0.1.0.
- 2026: Homebrew formula builds cfn-format from rain v1.24.4.

### Related projects

- rain is the upstream project and broader CloudFormation workflow CLI.
- cfn-flip is the older AWS Labs converter whose CLI usage now points users to `rain fmt`.

### Sources

- <https://api.github.com/repos/aws-cloudformation/rain>
- <https://github.com/aws-cloudformation/rain>
- <https://aws-cloudformation.github.io/rain/rain_fmt.html>
- <https://github.com/aws-cloudformation/rain#readme>
- <https://formulae.brew.sh/api/formula/cfn-format.json>


## Notes de sécurité

infrastructure mutation or orchestration signal.

- **Risque Geiger:** orange / moyen
- infrastructure mutation or orchestration signal


## Combined YAML source

View the package source record on GitHub. [combined/cfn-format.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cfn-format.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
