# Install dhall-bash with Homebrew, Nix, pacman

Compile Dhall to Bash. Version 1.0.41 via Homebrew; verified 2026-07-22. Also installable with nix: nix profile install nixpkgs#dhall-bash.

## 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
- **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>
- **Last updated:** 2026-07-22T03:34:25Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dhall-to-bash (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.41
## 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

## 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-244: 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


## Combined YAML source

View the package source record on GitHub. [combined/dhall-bash.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dhall-bash.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
