# Install dhall-json with Homebrew, dnf, Nix, pacman

Dhall to JSON compiler and a Dhall to YAML compiler. Version 1.7.12 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:dhall-json
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dhall-json
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install dhall-json
```

  Evidence: Fedora Rawhide package metadata: dhall-json from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dhall-json
```

  Evidence: nixpkgs package indexes: dhall-json from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S dhall-json
```

  Evidence: Arch Linux sync databases: dhall-json from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:dhall-json
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dhall-json>
- **Version:** 1.7.12
- **Source summary:** Dhall to JSON compiler and a Dhall to YAML compiler
- **Homepage:** <https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-json>
- **Repository:** <https://github.com/dhall-lang/dhall-haskell>
- **Upstream docs:** <https://docs.dhall-lang.org/>
- **License:** BSD-3-Clause
- **Source archive:** <https://hackage.haskell.org/package/dhall-json-1.7.12/dhall-json-1.7.12.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- dhall-to-json (cli)
- dhall-to-yaml (cli)
- json-to-dhall (cli)
- dhall-to-json (alias)
- dhall-to-yaml (alias)
- json-to-dhall (alias)

## Dependencies

- gmp

## Build dependencies

- cabal-install
- ghc

## Uses from macOS

- libffi
- ncurses

## 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-07-09
- Package-manager version: 1.7.12
- Local data: ok
- Upstream repository: https://github.com/dhall-lang/dhall-haskell
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

dhall-json is the standard Dhall-to-JSON and Dhall-to-YAML command package from dhall-haskell. For many users it is the front door to Dhall, because it turns typed Dhall expressions into formats consumed by tools that know nothing about Dhall.

### Project history

The language-independent Dhall README describes Dhall as a maintainable configuration language, informally JSON plus functions, types, and imports, with termination guarantees from being non-Turing-complete. That same README says the easiest way to experiment is to install dhall-to-json or dhall-to-yaml, while the dhall-json package README identifies the package as providing both compilers.

### Adoption history

Official Dhall documentation centers the JSON/YAML workflow in the getting-started tutorial and documents Homebrew installation for macOS. The Dhall-in-production page lists real users and integrations that generate or manage configuration, including Kubernetes and runtime configuration workflows where dhall-to-yaml is part of the bridge to existing systems.

### How it is used

The package exposes dhall-to-json, dhall-to-yaml, and json-to-dhall. Users typically author Dhall records and lists, type-check and normalize them, then render JSON or YAML for downstream tools; the official examples show records, booleans, lists, and null-producing optional values becoming conventional JSON or YAML.

### Why package nerds care

dhall-json is package-manager important because it is the practical converter package people install even when they do not need Haskell libraries. It follows the Unix-y model of placing a strong configuration language in front of plain JSON and YAML consumers, making the executable package more visible than the underlying library for many users.

### Timeline

- 2017: dhall-haskell public releases included the multi-package Dhall command-line toolchain.
- 2026: Official Dhall tutorials still teach JSON and YAML generation as the getting-started path.

### Related projects

- dhall-yaml supplies the newer dhall-to-yaml-ng path, while dhall-bash, dhall-toml, dhall-nix, and dhall-lsp-server cover other integrations in the same dhall-haskell repository.

### Sources

- <https://github.com/dhall-lang/dhall-lang>
- <https://docs.dhall-lang.org/tutorials/Getting-started_Generate-JSON-or-YAML.html>
- <https://github.com/dhall-lang/dhall-haskell>
- <https://github.com/dhall-lang/dhall-haskell/tree/main/dhall-json>
- <https://docs.dhall-lang.org/discussions/Dhall-in-production.html>
- <https://api.github.com/repos/dhall-lang/dhall-haskell/releases?per_page=100>


## Security Notes

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:** dhall-json
- **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 - dhall-json: normalized package name match | nixpkgs package indexes: dhall-json from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- dnf - dhall-json - 1.7.12-13.fc44: normalized package name match | Fedora Rawhide package metadata: dhall-json from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Convert between Dhall and JSON or YAML | https://hackage.haskell.org/package/dhall-json
- dnf - ghc-dhall-json - 1.7.12-13.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-dhall-json from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell dhall-json library | https://hackage.haskell.org/package/dhall-json
- dnf - ghc-dhall-json-devel - 1.7.12-13.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-dhall-json-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell dhall-json library development files | https://hackage.haskell.org/package/dhall-json
- dnf - ghc-dhall-json-doc - 1.7.12-13.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-dhall-json-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell dhall-json library documentation | https://hackage.haskell.org/package/dhall-json
- dnf - ghc-dhall-json-prof - 1.7.12-13.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-dhall-json-prof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Haskell dhall-json profiling library | https://hackage.haskell.org/package/dhall-json
- pacman - dhall-json - 1.7.12-208: normalized package name match | Arch Linux sync databases: dhall-json from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Convert between Dhall and JSON or YAML | https://dhall-lang.org


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cabal-install](https://www.automicvault.com/pkg/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://www.automicvault.com/pkg/brew/ghc/) - Build dependency declared by Homebrew.
- [dhall-bash](https://www.automicvault.com/pkg/brew/dhall-bash/) - Shares the same upstream source repository.
- [dhall-lsp-server](https://www.automicvault.com/pkg/brew/dhall-lsp-server/) - Shares the same upstream source repository.
- [dhall-toml](https://www.automicvault.com/pkg/brew/dhall-toml/) - Shares the same upstream source repository.
- [dhall-yaml](https://www.automicvault.com/pkg/brew/dhall-yaml/) - Shares the same upstream source repository.
- [config-file-validator](https://www.automicvault.com/pkg/brew/config-file-validator/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json, yaml.
- [butane](https://www.automicvault.com/pkg/brew/butane/) - Shares av.db curated category or tags: cli, configuration, developer-tools, yaml.
- [json2hcl](https://www.automicvault.com/pkg/brew/json2hcl/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [libfyaml](https://www.automicvault.com/pkg/brew/libfyaml/) - Shares av.db curated category or tags: cli, developer-tools, json, serialization, yaml.
- [ytt](https://www.automicvault.com/pkg/brew/ytt/) - Shares av.db curated category or tags: cli, configuration, developer-tools, yaml.
- [dyff](https://www.automicvault.com/pkg/brew/dyff/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json, yaml.

## Combined YAML source

View the package source record on GitHub. [combined/dhall-json.yml](https://github.com/automic-vault/db/blob/main/combined/dhall-json.yml)


## Sources

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