macOS
brew install hcl2jsonlocal Homebrew formula metadata
sudo port install hcl2jsonMacPorts ports tree · textproc/hcl2json/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de hcl2json pour les workflows d'agents IA.
installation
brew install hcl2jsonlocal Homebrew formula metadata
sudo port install hcl2jsonMacPorts ports tree · textproc/hcl2json/Portfile · Source: api.github.com
nix profile install nixpkgs#hcl2jsonnixpkgs package indexes · pkgs/by-name/hc/hcl2json/package.nix · Source: api.github.com
aperçu
Convert HCL2 to JSON
historique
hcl2json is a small Go command-line converter for turning HashiCorp Configuration Language version 2 input into JSON. Its niche is not general Terraform evaluation; it is a bridge for scripts and non-Go programs that need to inspect HCL-shaped configuration without embedding a full HCL-aware application.
The repository was created in July 2019 and framed itself around HCL2 conversion at a time when HCL was becoming the shared configuration substrate for Terraform and other HashiCorp-style tools. The README says the tool was created because there were few direct schemaless converters, while later HashiCorp HCL tooling such as hcldec offered a more specification-driven path.
Adoption stayed in the small-utility lane: Homebrew, MacPorts, Nix, prebuilt GitHub release binaries, Docker images, and tool-version-manager installs made it easy to drop into shell pipelines. The project matters most where HCL is data to inspect or transform rather than configuration to execute.
Typical use is piping an HCL file or stdin through hcl2json and redirecting JSON output for downstream tools. The README also documents a simplify mode and an HCL pack-format mode, while warning that some HCL constructs cannot be converted with exact semantic equivalence.
Package maintainers care about hcl2json because it is a single-purpose, Go-built CLI with no runtime service, no credentials, and obvious test fixtures: feed HCL in, compare JSON out. It fills the awkward gap between plain text processing and linking a whole HCL application stack.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
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.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
hcl2json | cli | exécutable global |
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.
https://github.com/tmccombs/hcl2json
métadonnées d'installation
| Clé du paquet | brew:hcl2json |
|---|---|
| Version | 0.6.9 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/hcl2json |
| Page d'accueil | https://github.com/tmccombs/hcl2json |
| Dépôt | https://github.com/tmccombs/hcl2json |
| Docs amont | https://github.com/tmccombs/hcl2json#readme |
| Licence | Apache-2.0 |
| Archive source | https://github.com/tmccombs/hcl2json/archive/refs/tags/v0.6.9.tar.gz |
| Dernière mise à jour | 2026-07-25T20:56:30-04:00 |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hcl2json |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
hcl2json
nix profile install nixpkgs#hcl2jsonhcl2json
sudo port install hcl2jsonpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.