# Install hcl2json

Convert HCL2 to JSON. Version 0.6.9 via Homebrew; verified 2026-04-04.

## Install

```sh
sudo av install brew:hcl2json
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hcl2json
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hcl2json
```

  Evidence: MacPorts ports tree: textproc/hcl2json/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hcl2json
```

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

## Package Facts

- **Package key:** brew:hcl2json
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/hcl2json>
- **Version:** 0.6.9
- **Source summary:** Convert HCL2 to JSON
- **Homepage:** <https://github.com/tmccombs/hcl2json>
- **Repository:** <https://github.com/tmccombs/hcl2json>
- **Upstream docs:** <https://github.com/tmccombs/hcl2json#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/tmccombs/hcl2json/archive/refs/tags/v0.6.9.tar.gz>
- **Last updated:** 2026-04-04T12:41:03Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- hcl2json (cli)
- hcl2json (alias)

## Build Dependencies

- go

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.6.9
- Package-manager updated: 2026-04-04
- Local data status: ok
- Upstream repository: https://github.com/tmccombs/hcl2json
- Upstream latest detected: v0.6.9 (current)

## Notes de sécurité

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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:** head, stable

## Other Package-Manager Records

- Nix - hcl2json: normalized package name match | nixpkgs package indexes: pkgs/by-name/hc/hcl2json/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - hcl2json: normalized package name match | MacPorts ports tree: textproc/hcl2json/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Cloud CLI packages](https://www.automicvault.com/fr/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/fr/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/fr/pkg/brew/go/) - Build dependency declared by Homebrew.
- [hcledit](https://www.automicvault.com/fr/pkg/brew/hcledit/) - Shares av.db curated category or tags: cli, configuration, developer-tools, hcl, terraform.
- [json2hcl](https://www.automicvault.com/fr/pkg/brew/json2hcl/) - Shares av.db curated category or tags: cli, configuration, developer-tools, hcl, json.
- [config-file-validator](https://www.automicvault.com/fr/pkg/brew/config-file-validator/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [dhall-json](https://www.automicvault.com/fr/pkg/brew/dhall-json/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [yj](https://www.automicvault.com/fr/pkg/brew/yj/) - Shares av.db curated category or tags: cli, developer-tools, hcl, json.
- [taplo](https://www.automicvault.com/fr/pkg/brew/taplo/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [rulesync](https://www.automicvault.com/fr/pkg/brew/rulesync/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [butane](https://www.automicvault.com/fr/pkg/brew/butane/) - Shares av.db curated category or tags: cli, configuration, developer-tools.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
