# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dhall-bash>
- **版本:** 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>
- **上游文档:** <https://github.com/dhall-lang/dhall-haskell/tree/main/dhall-bash>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://hackage.haskell.org/package/dhall-bash-1.0.41/dhall-bash-1.0.41.tar.gz>
- **最后更新:** 2026-07-22T03:34:25Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dhall-to-bash (cli)
- dhall-to-bash (别名)

## 依赖

- gmp

## 构建依赖

- cabal-install
- ghc

## macOS 提供的库

- libffi
- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.41
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://github.com/dhall-lang/dhall-haskell
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

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

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

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cabal-install](https://pkg.so/zh-hans/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://pkg.so/zh-hans/brew/ghc/) - Build dependency declared by Homebrew.
- [dhall-yaml](https://pkg.so/zh-hans/brew/dhall-yaml/) - Shares the same upstream source repository.
- [dhall-json](https://pkg.so/zh-hans/brew/dhall-json/) - Shares the same upstream source repository.
- [dhall-lsp-server](https://pkg.so/zh-hans/brew/dhall-lsp-server/) - Shares the same upstream source repository.
- [dhall-toml](https://pkg.so/zh-hans/brew/dhall-toml/) - Shares the same upstream source repository.
- [ragel](https://pkg.so/zh-hans/brew/ragel/) - Shares pkgdb curated category or tags: cli, code-generation, compiler, developer-tools.
- [asn1c](https://pkg.so/zh-hans/brew/asn1c/) - Shares pkgdb curated category or tags: cli, code-generation, compiler, developer-tools.
- [configen](https://pkg.so/zh-hans/brew/configen/) - Shares pkgdb curated category or tags: cli, code-generation, configuration, developer-tools.
- [sourcery](https://pkg.so/zh-hans/brew/sourcery/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools.
- [mockolo](https://pkg.so/zh-hans/brew/mockolo/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools.
- [openapi-generator](https://pkg.so/zh-hans/brew/openapi-generator/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools.
- [mockery](https://pkg.so/zh-hans/brew/mockery/) - Shares pkgdb 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/mxcl/pkgdb/blob/main/combined/dhall-bash.yml)


## 来源

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