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

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

## 安装

```sh
sudo av install brew:boxes
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install boxes
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install boxes
```

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

### Linux

- apk (92%):

```sh
sudo apk add boxes
```

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

- Debian apt (92%):

```sh
sudo apt install boxes
```

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

- dnf (92%):

```sh
sudo dnf install boxes
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#boxes
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/boxes
```

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

## 软件包事实

- **软件包键:** brew:boxes
- **软件包管理器:** Homebrew
- **版本:** 2.3.1
- **来源摘要:** Draw boxes around text
- **主页:** <https://boxes.thomasjensen.com/>
- **仓库:** <https://github.com/ascii-boxes/boxes>
- **最后更新:** 2026-06-22T14:02:55-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- boxes (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

boxes is a long-lived Unix-style text filter for drawing, removing, and repairing ASCII art boxes around text. Its own README describes it as stable software that has existed since 1999 and remains available through many package managers.

### 项目历史

The project is maintained under the ascii-boxes organization and documents Thomas Jensen's official website, manual page, and configuration syntax as its primary user-facing surfaces. The modern GitHub history includes a v1.0 tag in 2014 and ongoing maintenance releases into the 2020s, while the README says the program itself dates back to 1999.

The program's historical shape is classic filter culture: it reads text, applies a named box design, and writes transformed text. Later documentation emphasizes user-defined box designs, shared configuration files, editor integration, and portability across Unix-like systems and Windows.

### 采用历史

The official README notes package-manager availability across apt, rpm, choco, brew, and other ecosystems. The Homebrew input also lists boxes in apk, brew, Debian, Fedora, MacPorts, Nix, Scoop, and Ubuntu, which matches its role as a small portable utility rather than a single-platform application.

Adoption is helped by its editor-filter workflow: the manual and website describe using boxes from editors that can pipe text through external filters, making it useful for source comments, email, plain-text notes, and README ornamentation.

### 使用方式

Typical usage pipes text into the command, for example the official README's `echo foo | boxes`, then chooses designs with options such as listing available boxes. The configuration documentation explains that custom designs live in boxes config files and can be shared back through the repository.

Because it is a pure command-line filter, boxes composes naturally with shells, editors, and scripts. Its value is not heavy document rendering; it is quick decoration and comment-block formatting in plain text.

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

boxes is package-nerd catnip because it is tiny, old, portable, and visually obvious: a package manager installs one command and the user immediately sees a text transformation. It represents the ornamental side of Unix filters, where package collections preserve small tools whose usefulness is partly practical and partly cultural.

The project also has an unusually packageable asset: the box-design database. That makes it more than a binary wrapper; distributions are shipping a small command plus a community-curated catalog of ASCII layouts.

### 时间线

- 1999: Project origin date stated in the official README.
- 2014: v1.0 tag appears in the official GitHub repository.
- 2021: v2.1.1 tag appears in the official GitHub repository.
- 2024: Official website documents v2.3.1 as a maintenance release.

### Related projects

- boxes relates to classic Unix text filters, editor filter commands, figlet-style terminal ornamentation, and other ASCII-art utilities.
- Its closest project-specific related artifact is the official boxes-config file, where the bundled and contributed box designs are maintained.

### 来源

- <https://boxes.thomasjensen.com/>
- <https://boxes.thomasjensen.com/boxes-man-1.html>
- <https://boxes.thomasjensen.com/config-syntax.html>
- <https://github.com/ascii-boxes/boxes#readme>
- source_facts.package-manager


## 安全说明

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

- Debian apt - boxes - 2.3.1-1: normalized package name match | Debian stable package indexes: boxes from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | textmode box- and comment drawing filter | https://boxes.thomasjensen.com/
- Nix - boxes: normalized package name match | nixpkgs package indexes: pkgs/by-name/bo/boxes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - boxes - 2.2.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: boxes from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | textmode box- and comment drawing filter | https://boxes.thomasjensen.com/
- apk - boxes - 2.3.1-r0: normalized package name match | Alpine Linux edge package indexes: boxes from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Text mode box and comment drawing filter | https://boxes.thomasjensen.com
- apk - boxes-doc - 2.3.1-r0: normalized package name match | Alpine Linux edge package indexes: boxes-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Text mode box and comment drawing filter (documentation) | https://boxes.thomasjensen.com
- dnf - boxes - 2.3.1-6.fc45: normalized package name match | Fedora Rawhide package metadata: boxes from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command line ASCII boxes unlimited! | http://boxes.thomasjensen.com
- dnf - boxes-vim - 2.3.1-6.fc45: normalized package name match | Fedora Rawhide package metadata: boxes-vim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Vim plugin for boxes | http://boxes.thomasjensen.com
- MacPorts - boxes: normalized package name match | MacPorts ports tree: textproc/boxes/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/boxes: normalized package name match | Scoop official bucket manifest trees: bucket/boxes.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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