# 使用 Homebrew, chocolatey, MacPorts, pacman, scoop, winget 安装 dagger

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

## 安装

```sh
sudo av install brew:dagger
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dagger
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dagger
```

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

### Linux

- pacman (92%):

```sh
sudo pacman -S dagger
```

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

### Windows

- Chocolatey (92%):

```sh
choco install dagger
```

  证据: Chocolatey community package catalog: dagger from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.7743998','highlight'

- Scoop (92%):

```sh
scoop install main/dagger
```

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

- winget (92%):

```sh
winget install --id Dagger.Cli -e
```

  证据: Windows Package Manager source index: Dagger.Cli from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:dagger
- **软件包管理器:** Homebrew
- **版本:** 0.21.8
- **来源摘要:** Portable devkit for CI/CD pipelines
- **主页:** <https://dagger.io>
- **仓库:** <https://github.com/dagger/dagger>
- **最后更新:** 2026-07-29T17:54:05Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dagger (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Dagger is a software-delivery automation platform and CLI. It packages CI/CD automation as programmable, container-backed modules and functions that run locally, in CI, or in Dagger Cloud.

### 项目历史

Dagger's official launch post introduced it on March 30, 2022 as a portable devkit for CI/CD pipelines from the creators of Docker. The public repository itself dates back to 2019, and the launch post says the project had been developed with early adopters before continuing in the open.

### 采用历史

Dagger's adoption pitch is local-first CI/CD: write automation once, run it on a laptop or CI server, and avoid environment drift and CI lock-in. Current official docs emphasize a CLI, a Dagger Engine, generated SDKs, reusable modules, tracing, and container-runtime-backed execution.

### 使用方式

Users invoke the dagger CLI to run functions, modules, checks, toolchains, and CI workflows. Current module configuration is centered on dagger-module.toml, while workspace commands such as dagger install, dagger config, and dagger settings update dagger.toml.

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

Dagger is interesting to package nerds because it treats delivery pipelines as portable code rather than vendor-specific YAML. Its formula installs a CLI that brokers a larger engine, SDK, module, and container ecosystem, making the package a doorway into programmable build and release workflows.

### 时间线

- 2019: Public dagger/dagger GitHub repository is created.
- 2022: Dagger is publicly introduced as a portable devkit for CI/CD pipelines.
- 2022: Official launch post says development will continue in the open.
- 2026: Official docs describe Dagger as a platform for automating software delivery.

### Related projects

- The launch post says Dagger is powered by BuildKit; current docs place it alongside container runtimes, SDKs, Dagger modules, Dagger Cloud, and OpenTelemetry tracing.

### 来源

- <https://dagger.io/blog/public-launch-announcement>
- <https://docs.dagger.io/>
- <https://docs.dagger.io/reference/configuration/modules>
- <https://api.github.com/repos/dagger/dagger>


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./dagger.json
## 其他软件包管理器记录

- pacman - dagger - 0.21.8-1: normalized package name match | Arch Linux sync databases: dagger from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A portable devkit for CI/CD pipelines | https://dagger.io
- MacPorts - dagger: normalized package name match | MacPorts ports tree: devel/dagger/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - dagger: normalized package name match | Chocolatey community package catalog: dagger from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.7743998','highlight'
- Scoop - main/dagger: normalized package name match | Scoop official bucket manifest trees: bucket/dagger.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Dagger.Cli: normalized package name match | Windows Package Manager source index: Dagger.Cli from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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