# 使用 Homebrew, apk, apt, MacPorts, Nix, scoop 安装 dasel

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

## 安装

```sh
sudo av install brew:dasel
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dasel
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dasel
```

  证据: MacPorts ports tree: textproc/dasel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dasel
```

  证据: Alpine Linux edge package indexes: dasel from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dasel
```

  证据: Debian stable package indexes: dasel from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#dasel
```

  证据: nixpkgs package indexes: pkgs/by-name/da/dasel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install extras/dasel
```

  证据: Scoop official bucket manifest trees: bucket/dasel.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:dasel
- **软件包管理器:** Homebrew
- **版本:** 3.11.2
- **来源摘要:** JSON, YAML, TOML, XML, and CSV query and modification tool
- **主页:** <https://daseldocs.tomwright.me>
- **仓库:** <https://github.com/TomWright/dasel>
- **最后更新:** 2026-07-28T14:10:37+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dasel (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

dasel is a command-line query and modification tool for structured data formats including JSON, YAML, TOML, XML, and CSV. Its package-manager appeal is simple: one small executable covers several file formats that otherwise tend to require separate tools.

### 项目历史

The project is maintained by Tom Wright and documented through its official docs site and GitHub repository. Its design centers on a selector language that can read and modify nested data across multiple serialization formats.

dasel's history is less about a large ecosystem moment and more about the packaging of a practical CLI for configuration-heavy workflows. The official docs emphasize installation, selectors, conversion, and command examples rather than a separate historical narrative.

### 采用历史

dasel has been packaged across common Unix package managers because it fits a familiar CLI niche: scripting against config files without writing one-off parsing code. It is most naturally adopted by shell users who want a `jq`-like utility that is not limited to JSON.

### 使用方式

Common usage includes selecting values, updating fields, converting between formats, and using the tool in shell pipelines. Since it operates on passed files and streams, there is no official per-user config or credentials location to record.

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

Package nerds care about dasel because it collapses a handful of format-specific dependencies into one CLI. That makes it attractive in minimal environments, CI scripts, and dotfile repositories where JSON, YAML, TOML, and XML all show up.

### 时间线

- Project era: dasel established itself as a multi-format structured-data CLI.
- Present: The official docs describe dasel as a data selector and modifier for JSON, YAML, TOML, XML, and CSV.

### Related projects

- dasel is commonly compared with `jq` for JSON, `yq` for YAML, and other small command-line tools that query or transform structured configuration files.

### 来源

- <https://daseldocs.tomwright.me/>
- <https://github.com/TomWright/dasel#readme>
- <https://github.com/TomWright/dasel/releases>


## 安全说明

没有找到 dasel 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Debian apt - dasel - 2.8.1-1: normalized package name match | Debian stable package indexes: dasel from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Query, update and convert data structures from the command line (program) | https://github.com/tomwright/dasel
- Debian apt - golang-github-tomwright-dasel-dev - 2.8.1-1: normalized package name match | Debian stable package indexes: golang-github-tomwright-dasel-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Query, update and convert data structures from the command line (library) | https://github.com/tomwright/dasel
- Nix - dasel: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/dasel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dasel - 2.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: dasel from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Query, update and convert data structures from the command line (program) | https://github.com/tomwright/dasel
- Ubuntu apt - golang-github-tomwright-dasel-dev - 2.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: golang-github-tomwright-dasel-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Query, update and convert data structures from the command line (library) | https://github.com/tomwright/dasel
- apk - dasel - 2.8.1-r16: normalized package name match | Alpine Linux edge package indexes: dasel from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Query and modify data structures using selector strings | https://daseldocs.tomwright.me/
- apk - dasel-bash-completion - 2.8.1-r16: normalized package name match | Alpine Linux edge package indexes: dasel-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for dasel | https://daseldocs.tomwright.me/
- apk - dasel-fish-completion - 2.8.1-r16: normalized package name match | Alpine Linux edge package indexes: dasel-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for dasel | https://daseldocs.tomwright.me/
- apk - dasel-zsh-completion - 2.8.1-r16: normalized package name match | Alpine Linux edge package indexes: dasel-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for dasel | https://daseldocs.tomwright.me/
- MacPorts - dasel: normalized package name match | MacPorts ports tree: textproc/dasel/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/dasel: normalized package name match | Scoop official bucket manifest trees: bucket/dasel.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/dasel.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dasel.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
