# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 aerc

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

## 安装

```sh
sudo av install brew:aerc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install aerc
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install aerc
```

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

### Linux

- apk (92%):

```sh
sudo apk add aerc
```

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

- Debian apt (92%):

```sh
sudo apt install aerc
```

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

- dnf (92%):

```sh
sudo dnf install aerc
```

  证据: Fedora Rawhide package metadata: aerc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#aerc
```

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

- pacman (92%):

```sh
sudo pacman -S aerc
```

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

- zypper (92%):

```sh
sudo zypper install aerc
```

  证据: openSUSE Tumbleweed package metadata: aerc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:aerc
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/aerc>
- **版本:** 0.22.0
- **来源摘要:** Email client that runs in your terminal
- **主页:** <https://aerc-mail.org/>
- **上游文档:** <https://aerc-mail.org/>
- **许可证:** MIT
- **源码归档:** <https://git.sr.ht/~rjarry/aerc/archive/0.22.0.tar.gz>
- **最后更新:** 2026-07-28T17:36:26Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- aerc (cli)
- carddav-query (cli)
- aerc (别名)
- carddav-query (别名)

## 依赖

- notmuch

## 构建依赖

- go
- scdoc

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.22.0
- 管理器更新时间: 2026-07-28
- 本地数据: OK
- 上游仓库: https://aerc-mail.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

aerc is a terminal email client for users who want a fast, keyboard-driven mail workflow inside the Unix terminal rather than a graphical mail application. Its official site describes it as an email client that runs in the terminal, with embedded-terminal composition, Vim-style key bindings, an ex-command system, Git-and-email workflows, and support for IMAP, JMAP, Maildir, Notmuch, Mbox, SMTP, and sendmail.

### 项目历史

The project is hosted on SourceHut at git.sr.ht/~rjarry/aerc and publishes release tags beginning with the 0.x series. Its public project identity has stayed close to hacker-oriented terminal mail: the homepage slogan is "a pretty good email client", and the official SourceHut summary says it is a pretty good email client that runs in your terminal.

The project has continued as an actively maintained SourceHut project, with source, releases, mailing lists, bug tracker, and wiki all linked from the official homepage. The homepage also links FOSDEM 2024 and FOSDEM 2025 aerc material, reflecting a project with conference-facing Unix desktop and email-culture presence rather than a quiet one-off utility.

### 采用历史

aerc is packaged across mainstream Unix package ecosystems, including Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, and openSUSE according to the supplied package-manager facts. That breadth is a useful signal for a terminal mail client: package maintainers consider it a normal installable tool rather than a source-only niche.

Its adoption niche overlaps with developers who use email as part of source-control workflows. The homepage calls out first-class support for working with git and email, a notable feature for users who review and send patches through mailing lists.

### 使用方式

Users configure aerc through XDG-style configuration files under the aerc config directory. The official aerc-config manpage says aerc uses aerc.conf, binds.conf, and accounts.conf under XDG config home plus aerc, defaulting to ~/.config/aerc, and that alternate files can be supplied on the command line.

The accounts.conf file is security-sensitive. The official aerc-accounts manpage says it configures mail accounts, defaults to ~/.config/aerc/accounts.conf, may include account credentials, and must be kept secret. The config manpage also documents that accounts.conf permissions are expected to be restrictive unless the unsafe-accounts-conf option is explicitly enabled.

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

aerc matters to package nerds because it is a modern terminal mail client with a broad backend matrix and a Unix-native configuration model. It sits in the same cultural space as mutt/neomutt and alpine, but with Go-era packaging, SourceHut-native development, and explicit Git email support.

The package is also a good example of how terminal applications increasingly bundle rich workflows without leaving the terminal: embedded terminal composition, terminal browser rendering, patch highlighting, threading, PGP integration, and asynchronous network support are all advertised by the project itself.

### 时间线

- 0.1.0: Earliest public release tag visible in the official SourceHut repository.
- 2024: Official homepage links a FOSDEM 2024 aerc talk.
- 2025: Official homepage links FOSDEM 2025 aerc slides.
- 2026: SourceHut repository remains active, with 0.21.0 visible among release tags.

### Related projects

- Related tools and protocols include IMAP, JMAP, Maildir, Notmuch, Mbox, SMTP, sendmail, GnuPG, git-send-email, mutt, neomutt, and SourceHut mailing-list workflows.

### 来源

- <https://aerc-mail.org/>
- <https://git.sr.ht/~rjarry/aerc>
- <https://git.sr.ht/~rjarry/aerc/blob/master/doc/aerc-accounts.5.scd>
- <https://git.sr.ht/~rjarry/aerc/blob/master/doc/aerc-config.5.scd>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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: $XDG_CONFIG_HOME/aerc/aerc.conf, ~/.config/aerc/aerc.conf

## Credential files

- Unix: $XDG_CONFIG_HOME/aerc/accounts.conf, ~/.config/aerc/accounts.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aerc
- **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

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

- Debian apt - aerc - 0.20.0-2+b1: normalized package name match | Debian stable package indexes: aerc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Pretty Good Email Client | https://aerc-mail.org
- Nix - aerc: normalized package name match | nixpkgs package indexes: pkgs/by-name/ae/aerc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - aerc - 0.17.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: aerc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Pretty Good Email Client | https://aerc-mail.org
- apk - aerc - 0.22.0-r0: normalized package name match | Alpine Linux edge package indexes: aerc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | email client for your terminal | https://aerc-mail.org
- apk - aerc-doc - 0.22.0-r0: normalized package name match | Alpine Linux edge package indexes: aerc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | email client for your terminal (documentation) | https://aerc-mail.org
- dnf - aerc - 0.22.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: aerc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Email client for your terminal | https://git.sr.ht/~rjarry/aerc
- pacman - aerc - 0.21.0-1: normalized package name match | Arch Linux sync databases: aerc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Email Client for your Terminal | https://git.sr.ht/~rjarry/aerc
- zypper - aerc - 0.22.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: aerc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | An email client for terminals | https://aerc-mail.org/
- MacPorts - aerc: normalized package name match | MacPorts ports tree: mail/aerc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [notmuch](https://pkg.so/zh-hans/brew/notmuch/) - Runtime dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [scdoc](https://pkg.so/zh-hans/brew/scdoc/) - Build dependency declared by Homebrew.
- [neomutt](https://pkg.so/zh-hans/brew/neomutt/) - Shares pkgdb curated category or tags: cli, email, imap, notmuch, productivity.
- [meli](https://pkg.so/zh-hans/brew/meli/) - Shares pkgdb curated category or tags: cli, email, imap, jmap, maildir.
- [offlineimap](https://pkg.so/zh-hans/brew/offlineimap/) - Shares pkgdb curated category or tags: cli, email, imap, maildir, productivity.
- [alot](https://pkg.so/zh-hans/brew/alot/) - Shares pkgdb curated category or tags: cli, email, notmuch, productivity, terminal.
- [mailcheck](https://pkg.so/zh-hans/brew/mailcheck/) - Shares pkgdb curated category or tags: cli, email, imap, maildir, productivity.
- [neverest](https://pkg.so/zh-hans/brew/neverest/) - Shares pkgdb curated category or tags: cli, email, imap, jmap, productivity.
- [mu](https://pkg.so/zh-hans/brew/mu/) - Shares pkgdb curated category or tags: cli, email, maildir, productivity.
- [claws-mail](https://pkg.so/zh-hans/brew/claws-mail/) - Shares pkgdb curated category or tags: cli, email, imap, productivity.

## Combined YAML source

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


## 来源

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