# 使用 Homebrew, Nix 安装 boring

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

## 安装

```sh
sudo av install brew:boring
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install boring
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#boring
```

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

## 软件包事实

- **软件包键:** brew:boring
- **软件包管理器:** Homebrew
- **版本:** 0.16.1
- **来源摘要:** Simple command-line SSH tunnel manager that just works
- **主页:** <https://alebeck.github.io/boring/>
- **仓库:** <https://github.com/alebeck/boring>
- **最后更新:** 2026-07-29T08:52:46+01:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- boring (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

boring is a small Go CLI for managing SSH tunnels from a TOML file, positioned as a simpler way to keep local, remote, SOCKS, and reverse SOCKS forwards organized.

### 项目历史

The public GitHub repository was created in September 2024, and its earliest GitHub release in the public release feed is 0.4.0 from October 2024. The official site describes it as a simple command-line SSH tunnel manager with TOML configuration, ssh_config compatibility, and automatic reconnections.

The project keeps its scope narrow: it manages tunnel definitions and process lifecycle around SSH rather than trying to replace OpenSSH or become a general VPN system.

### 采用历史

Adoption is early and package-manager-focused. The batch input records Homebrew and Nix packaging, which is typical for a modern single-binary CLI aimed at developers who frequently need repeatable port forwards.

Because boring delegates authentication and host identity to SSH configuration, it fits into existing developer workflows without asking users to maintain a separate credential store.

### 使用方式

Users define named tunnels in a TOML file, then use the CLI to list, open, close, and group them. The README documents local, remote, SOCKS, and socks-remote modes plus fields for host, user, identity, port, keep-alive, and grouping.

The tool reads standard SSH configuration where possible and falls back to familiar defaults such as the current user, port 22, ssh-agent, and standard identity files.

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

boring is package-nerd interesting because it is a deliberately small wrapper around a ubiquitous system tool: it packages as one CLI, but its real value is making OpenSSH port-forwarding state reproducible and inspectable.

Its platform-specific default config paths are a useful curation detail, since Linux follows XDG while macOS and Windows use a home-directory TOML file.

### 时间线

- 2024-09: Official GitHub repository metadata shows the public repository created.
- 2024-10: GitHub release metadata shows release 0.4.0 published.
- 2026: Repository metadata and package input show ongoing development and packaging in Homebrew and Nix.

### Related projects

- OpenSSH is the underlying transport and tunneling mechanism.
- ssh_config is part of the expected configuration workflow because boring can match hosts against SSH config.
- autossh and other SSH tunnel managers are adjacent tools, but boring focuses on named TOML-managed tunnels.

### 来源

- <https://alebeck.github.io/boring/>
- <https://api.github.com/repos/alebeck/boring>
- <https://api.github.com/repos/alebeck/boring/releases?per_page=100>
- <https://github.com/alebeck/boring>
- source_facts.package-manager


## 安全说明

没有找到 boring 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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

- Linux: $XDG_CONFIG_HOME/boring/.boring.toml, ~/.config/boring/.boring.toml
- macOS: ~/.boring.toml
- Windows: ~/.boring.toml
## 其他软件包管理器记录

- Nix - boring: normalized package name match | nixpkgs package indexes: pkgs/by-name/bo/boring/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/boring.yml](https://github.com/mxcl/pkgdb/blob/main/combined/boring.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
