# Installer hcledit avec Homebrew, Nix

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

## installation

```sh
sudo av install brew:hcledit
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install hcledit
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hcledit
```

  Preuve: nixpkgs package indexes: pkgs/by-name/hc/hcledit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:hcledit
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.2.18
- **Résumé source:** Command-line editor for HCL
- **Page d'accueil:** <https://github.com/minamijoyo/hcledit>
- **Dépôt:** <https://github.com/minamijoyo/hcledit>
- **Dernière mise à jour:** 2026-07-27T14:32:23+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- hcledit (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

hcledit is a command-line editor for HCL2 files. It is aimed at automation-friendly edits of attributes, blocks, bodies, and formatting while preserving the token stream well enough to avoid discarding comments.

### Historique du projet

The repository was created on January 1, 2020, after HCL2 had become the dominant syntax for Terraform-era infrastructure configuration. The README describes the tool as originally born for refactoring Terraform configurations, but deliberately schemaless so it is not bound to Terraform itself.

### Historique d'adoption

The tool found a narrow audience among infrastructure engineers who needed repeatable HCL rewrites in shell scripts and CI tasks. Its distribution history is similarly compact: GitHub releases, a Homebrew tap/formula path, source builds with Go, and Nix packaging recorded in the batch input.

### Modes d'utilisation

hcledit reads from stdin or a file, writes to stdout or updates in place, and exposes subcommands for attribute get/set/move/remove, block listing and mutation, whole-body extraction, and formatting. Its value is token-based mutation rather than evaluation of a provider or Terraform module.

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

For package-manager users, hcledit is the HCL counterpart to focused text-structure tools such as jq or yq, but constrained to HCL syntax and Terraform-style refactoring chores. It is useful precisely because it avoids a dependency on a specific application's schema.

### Chronologie

- 2020: GitHub repository created.
- 2020: alpha and v0.0.1 releases published.
- 2020: v0.1.0 release published after the early alpha series.
- 2021: v0.2.0 release published.

### Related projects

- HashiCorp HCL supplies the syntax and Go libraries behind HCL2-aware tooling.
- Terraform is the origin use case named by the README.
- hcl2json solves a neighboring conversion problem rather than in-place editing.

### Sources

- <https://api.github.com/repos/minamijoyo/hcledit>
- <https://api.github.com/repos/minamijoyo/hcledit/releases>
- <https://github.com/hashicorp/hcl>
- <https://github.com/minamijoyo/hcledit>


## Notes de sécurité

narrow executable package without higher-risk signals.

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

## Autres enregistrements de gestionnaires de paquets

- Nix - hcledit: normalized package name match | nixpkgs package indexes: pkgs/by-name/hc/hcledit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

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