# 使用 Homebrew, Nix, pacman 安装 dhall-bash

查看 dhall-bash 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:dhall-bash
- **软件包管理器:** Homebrew
- **版本:** 1.0.41
- **来源摘要:** Compile Dhall to Bash
- **主页:** <https://github.com/dhall-lang/dhall-haskell/tree/main/dhall-bash>
- **仓库:** <https://github.com/dhall-lang/dhall-haskell>
- **最后更新:** 2026-07-22T03:34:25Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dhall-to-bash (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.41
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- 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)


## 来源

- 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
