# 使用 Homebrew, MacPorts, Nix, apk, pacman 安装 bore-cli

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

## 安装

```sh
sudo av install brew:bore-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bore-cli
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bore-cli
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bore-cli
```

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

- apk (92%):

```sh
sudo apk add bore
```

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

- pacman (92%):

```sh
sudo pacman -S bore
```

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

## 软件包事实

- **软件包键:** brew:bore-cli
- **软件包管理器:** Homebrew
- **版本:** 0.6.0
- **来源摘要:** Modern, simple TCP tunnel in Rust that exposes local ports to a remote server
- **主页:** <https://github.com/ekzhang/bore>
- **仓库:** <https://github.com/ekzhang/bore>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bore (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

bore is a Rust TCP-tunnel CLI for exposing a local port through a remote server. Its historical identity is intentionally small: a modern, self-hostable alternative in the localtunnel/ngrok family that forwards TCP traffic and avoids becoming a full remote-access platform.

### 项目历史

The README describes bore as a simple Rust tunnel that bypasses NAT firewalls by connecting a local client to a remote server and assigning a public port. It emphasizes a no-frills design: one binary can run either the client or server, and the protocol uses a control port plus per-connection UUID handoff.

The official GitHub releases show rapid early releases in April 2022, beginning with v0.2.0, then v0.3.0 and v0.4.0 later the same month. Later releases include v0.5.0 in April 2023 and v0.6.0 in June 2025.

### 采用历史

bore spread through Rust/Cargo first and then OS packages. Its README documents `cargo install bore-cli`, Homebrew core packaging on macOS, AUR packaging, Gentoo overlay packaging, binary releases for macOS, Windows, and Linux, and Docker images, while the input package metadata also shows Alpine, MacPorts, Nix, and pacman availability.

### 使用方式

The core workflow is `bore local 8000 --to bore.pub`, which exposes a local service through the public bore server on an assigned port. Operators can self-host with `bore server`, constrain port ranges, bind control and tunnel addresses separately, and optionally require a shared secret for the handshake.

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

bore matters to package nerds because it is a small Rust network utility whose package name diverges from its binary: Cargo and Homebrew use `bore-cli`, while the command is `bore`. It also demonstrates the post-ngrok packaging pattern of self-hostable tunnel tools that are simple enough to audit and ship as static binaries.

### 时间线

- 2022: v0.2.0 published on GitHub.
- 2022: v0.3.0, v0.4.0, and v0.4.1 follow in the first release year.
- 2023: v0.5.0 published.
- 2025: v0.6.0 published.

### Related projects

- The README explicitly compares bore with localtunnel and ngrok. It is also adjacent to other self-hostable TCP/HTTP tunnel tools and to Tokio-based Rust network services.

### 来源

- <https://github.com/ekzhang/bore#readme>
- <https://github.com/ekzhang/bore/releases/tag/v0.2.0>
- <https://github.com/ekzhang/bore/releases/tag/v0.6.0>
- source_facts.package-manager


## 安全说明

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

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

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

- Nix - bore-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/bo/bore-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - bore-cli: normalized package name match | MacPorts ports tree: net/bore-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - bore: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/bo/bore/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - bore - 0.6.0-r0: installed executable or alias match | Alpine Linux edge package indexes: bore from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Simple CLI tool for making tunnels to localhost | https://github.com/ekzhang/bore
- pacman - bore - 0.6.0-2: installed executable or alias match | Arch Linux sync databases: bore from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command line tool for making tunnels to localhost | https://github.com/ekzhang/bore


## Combined YAML source

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