# 使用 Homebrew, apk, dnf, Nix 安装 spacer

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

## 安装

```sh
sudo av install brew:spacer
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spacer
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add spacer
```

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

- dnf (92%):

```sh
sudo dnf install spacer
```

  证据: Fedora Rawhide package metadata: spacer 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#spacer
```

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

## 软件包事实

- **软件包键:** brew:spacer
- **软件包管理器:** Homebrew
- **版本:** 0.5.0
- **来源摘要:** Small command-line utility for adding spacers to command output
- **主页:** <https://github.com/samwho/spacer>
- **仓库:** <https://github.com/samwho/spacer>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- spacer (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

spacer is a small Rust command-line utility that inserts separator lines into a stream when command output pauses. It is aimed at terminal users who follow logs or long-running command output and want visible boundaries between bursts.

### 项目历史

The official README presents spacer as a simple CLI tool for inserting spacers when command output stops. It is distributed as a Rust crate and as a Homebrew package according to the README, with additional package availability recorded in the input facts.

### 采用历史

spacer's official adoption story is modest but package-manager-shaped: the README names Homebrew and Cargo installation, while the input package facts also list apk, dnf, and Nix. That makes it a small utility available through both language and OS package ecosystems.

### 使用方式

The default behavior is to emit a spacer after one second without output. Users can change the interval with `--after`, including floating-point seconds, and can pipe both stdout and stderr with shell syntax such as `|&` when a command writes mostly to stderr.

A typical use is `tail -f some.log | spacer --after 5`, which turns a continuous log stream into visually separated bursts without changing the producing command.

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

spacer matters to package nerds as a very small example of packaging terminal ergonomics. It does not replace logging tools; it packages one habit, pressing Enter while tailing logs, into a reusable filter.

Its availability through Cargo and system package managers makes it easy to add to dotfiles, shell pipelines, and development machines without vendoring a script.

### 时间线

- Current README: Documents Homebrew installation.
- Current README: Documents Cargo installation.
- Current README: Documents `--after` and stdout/stderr pipe behavior.

### Related projects

- Cargo is the Rust package channel documented by the README.
- Homebrew is the system package channel documented by the README.
- `tail -f` is the example producer used in the README.

### 来源

- <https://github.com/samwho/spacer#readme>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - spacer: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spacer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - spacer - 0.5.0-r0: normalized package name match | Alpine Linux edge package indexes: spacer from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI tool to insert spacers when command output stops | https://github.com/samwho/spacer
- apk - spacer-doc - 0.5.0-r0: normalized package name match | Alpine Linux edge package indexes: spacer-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI tool to insert spacers when command output stops (documentation) | https://github.com/samwho/spacer
- dnf - spacer - 0.5.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: spacer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | CLI utility for adding spacers when command output stops | https://github.com/samwho/spacer


## Combined YAML source

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