macOS
brew install hcl2jsonlocal Homebrew formula metadata
sudo port install hcl2jsonMacPorts ports tree · textproc/hcl2json/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für hcl2json in AI-Agent-Workflows.
Installation
brew install hcl2jsonlocal Homebrew formula metadata
sudo port install hcl2jsonMacPorts ports tree · textproc/hcl2json/Portfile · Quelle: api.github.com
nix profile install nixpkgs#hcl2jsonnixpkgs package indexes · pkgs/by-name/hc/hcl2json/package.nix · Quelle: api.github.com
Überblick
Convert HCL2 to JSON
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
hcl2json | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/tmccombs/hcl2json
Installationsmetadaten
| Paketschlüssel | brew:hcl2json |
|---|---|
| Version | 0.6.9 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/hcl2json |
| Homepage | https://github.com/tmccombs/hcl2json |
| Repository | https://github.com/tmccombs/hcl2json |
| Upstream-Dokumentation | https://github.com/tmccombs/hcl2json#readme |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://github.com/tmccombs/hcl2json/archive/refs/tags/v0.6.9.tar.gz |
| Zuletzt aktualisiert | 2026-07-25T20:56:30-04:00 |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
hcl2json
nix profile install nixpkgs#hcl2jsonhcl2json
sudo port install hcl2jsonQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.