# Install dhall-bash with Homebrew, Nix, pacman

Compile Dhall to Bash. Version 1.0.41 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dhall-bash
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

- pacman (92%):

```sh
sudo pacman -S dhall-bash
```

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

## Package facts

- **Package key:** brew:dhall-bash
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dhall-bash>
- **Version:** 1.0.41
- **Source summary:** Compile Dhall to Bash
- **Homepage:** <https://github.com/dhall-lang/dhall-haskell/tree/main/dhall-bash>
- **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-bash-1.0.41/dhall-bash-1.0.41.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- dhall-to-bash (cli)
- dhall-to-bash (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.0.41
- 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-bash is the Dhall ecosystem's bridge from typed, normalizing configuration expressions into shell-friendly values. It exists for the corner of operations culture where Bash remains the glue, but users still want Dhall's type checking and import discipline before values enter a script.

### Project history

The dhall-haskell repository lists dhall-bash as one of the packages maintained in the main Haskell implementation tree. Its package README describes a Dhall-to-Bash compiler that marshals Dhall values into Bash scripts, with support focused on primitive values, lists, optional values, and records from normalized expressions.

### Adoption history

Dhall's official integration guide frames Bash output as one of the external executable paths for projects that do not read Dhall directly. The supplied package facts show dhall-bash packaged by Homebrew, Nix, and Arch, which fits its niche as an optional companion command rather than the default Dhall entry point.

### How it is used

Users pipe or redirect Dhall expressions into dhall-to-bash, optionally asking it to emit Bash declarations. The official README examples show scalar output, readonly variable declarations, arrays, and associative arrays that can be evaluated by a shell script.

### Why package nerds care

dhall-bash matters to package nerds because it captures a recurring packaging pattern: a language ecosystem grows small format-specific executables so package managers can expose only the integration a user needs. It lets shell-heavy deployments consume typed configuration without pulling an application into a Dhall binding.

### Timeline

- 2017: dhall-haskell public releases included the multi-package Dhall toolchain.
- 2026: The official docs still present Bash generation as an external executable integration path.

### Related projects

- dhall-json, dhall-yaml, dhall-toml, dhall-nix, and dhall-lsp-server are sibling packages in dhall-haskell. The language-independent dhall-lang repository defines the shared standard and documentation.

### Sources

- <https://github.com/dhall-lang/dhall-haskell>
- <https://github.com/dhall-lang/dhall-haskell/tree/main/dhall-bash>
- <https://docs.dhall-lang.org/howtos/How-to-integrate-Dhall.html>
- <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-bash
- **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-bash: normalized package name match | nixpkgs package indexes: dhall-bash from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- pacman - dhall-bash - 1.0.41-216: normalized package name match | Arch Linux sync databases: dhall-bash from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Compile Dhall to Bash | 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-json](https://www.automicvault.com/pkg/brew/dhall-json/) - 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.
- [configen](https://www.automicvault.com/pkg/brew/configen/) - Shares av.db curated category or tags: cli, code-generation, configuration, developer-tools.
- [ragel](https://www.automicvault.com/pkg/brew/ragel/) - Shares av.db curated category or tags: cli, code-generation, compiler, developer-tools.
- [autogen](https://www.automicvault.com/pkg/brew/autogen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [blueprint-compiler](https://www.automicvault.com/pkg/brew/blueprint-compiler/) - Shares av.db curated category or tags: cli, code-generation, compiler, developer-tools.
- [butane](https://www.automicvault.com/pkg/brew/butane/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [config-file-validator](https://www.automicvault.com/pkg/brew/config-file-validator/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/dhall-bash.yml](https://github.com/automic-vault/db/blob/main/combined/dhall-bash.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
