# 使用 Homebrew, Nix 安装 ad

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

## 安装

```sh
sudo av install brew:ad
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ad
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ad
```

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

## 软件包事实

- **软件包键:** brew:ad
- **软件包管理器:** Homebrew
- **版本:** 0.4.0
- **来源摘要:** Adaptable text editor inspired by vi, kakoune, and acme
- **主页:** <https://github.com/sminez/ad>
- **仓库:** <https://github.com/sminez/ad>
- **最后更新:** 2026-05-26T23:37:48-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ad (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

`ad` is an adaptable Rust text editor that combines modal editing ideas from vi and Kakoune with Plan 9 Acme-style external-tool integration.

### 项目历史

The README presents `ad` as a personal, experimental editor rather than a polished replacement for Vim, Kakoune, or Emacs. Its design centers on text that can be executed as well as edited, a filesystem interface inspired by Acme, and command-language ideas from Sam.

The GitHub repository was created in 2023 and is developed on the `develop` branch. Its setup task creates a `~/.ad` dotfile directory and copies default configuration, plumbing rules, helper scripts, libraries, colorschemes, and syntax data.

### 采用历史

The project is available through Homebrew and Nix according to the supplied package-manager facts, but the README warns that user-facing documentation is limited and that the editor is not yet recommended as a primary editor.

### 使用方式

Users install or build `ad`, run `cargo xtask setup-dotfiles` for the default dotfiles, and then use the editor's built-in `:help` command. The tool is aimed at users who want a small hackable editor with external-program integration.

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

`ad` is interesting to package maintainers as a compact Rust editor with nontrivial runtime data files. Packaging is less about a single binary and more about whether default dotfiles and helper directories are installed or generated cleanly.

### 时间线

- 2023: GitHub repository `sminez/ad` was created.
- 2023: README documented `ad` as an Acme, Sam, vi, and Kakoune-inspired adaptable editor.
- 2026: Repository metadata shows active development and Homebrew/Nix package availability is present in the supplied facts.

### Related projects

- The README explicitly cites vi, Neovim, Kakoune, Acme, Sam, Plan 9, Tree-sitter, LSP, and the author's extracted `structex` crate as influences or related components.

### 来源

- <https://api.github.com/repos/sminez/ad>
- <https://github.com/sminez/ad#readme>
- <https://raw.githubusercontent.com/sminez/ad/develop/xtask/src/setup.rs>


## 安全说明

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: ~/.ad/config.toml
## 其他软件包管理器记录

- Nix - ad: normalized package name match | nixpkgs package indexes: pkgs/by-name/ad/ad/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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