# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bore-cli>
- **版本:** 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>
- **许可证:** MIT
- **源码归档:** <https://github.com/ekzhang/bore/archive/refs/tags/v0.6.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bore (cli)
- bore (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.6.0
- 本地数据: OK
- 上游仓库: https://github.com/ekzhang/bore
- 检测到的最新版本: v0.6.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bore-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [gost](https://pkg.so/zh-hans/brew/gost/) - Shares pkgdb curated category or tags: cli, networking, port-forwarding.
- [kubefwd](https://pkg.so/zh-hans/brew/kubefwd/) - Shares pkgdb curated category or tags: cli, networking, port-forwarding.
- [cloudflare-quiche](https://pkg.so/zh-hans/brew/cloudflare-quiche/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [monocle](https://pkg.so/zh-hans/brew/monocle/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [pgrok](https://pkg.so/zh-hans/brew/pgrok/) - Shares pkgdb curated category or tags: cli, networking, self-hosted, tcp-tunnel.
- [geph4](https://pkg.so/zh-hans/brew/geph4/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [redir](https://pkg.so/zh-hans/brew/redir/) - Shares pkgdb curated category or tags: cli, networking, port-forwarding.
- [sniffglue](https://pkg.so/zh-hans/brew/sniffglue/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [ddns-go](https://pkg.so/zh-hans/brew/ddns-go/) - Local package facts share a topical domain. Shared terms: cli, hosted, networking, self, self-hosted.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
