# boringtun を Homebrew, Nix でインストール

boringtun のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:boringtun
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install boringtun
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#boringtun
```

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

## パッケージ情報

- **パッケージキー:** brew:boringtun
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7.1
- **ソース概要:** Userspace WireGuard implementation in Rust
- **ホームページ:** <https://github.com/cloudflare/boringtun>
- **リポジトリ:** <https://github.com/cloudflare/boringtun>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- boringtun-cli (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7.1
## プロジェクトの歴史と使われ方

BoringTun is Cloudflare's Rust userspace implementation of the WireGuard protocol, distributed as both a library and the boringtun-cli command-line tool.

### プロジェクトの歴史

Cloudflare announced BoringTun publicly on March 27, 2019 after evaluating existing WireGuard implementations and choosing Rust for a portable, memory-safe, high-performance userspace implementation. The repository itself was created in October 2018, matching the blog's account that the project had been under development before the source release.

The README describes two deliverables: boringtun-cli for Linux and macOS userspace tunnels, and the boringtun library for client applications that supply their own platform-specific tunnel and network stacks.

### 採用の歴史

BoringTun's adoption story is unusually concrete for a low-level networking library: Cloudflare's README says it is deployed on millions of iOS and Android consumer devices and thousands of Cloudflare Linux servers.

Cloudflare's WARP posts tie BoringTun to the 1.1.1.1/WARP client stack, making it part of a large production VPN deployment rather than only a reference implementation.

### 使われ方

As a CLI, boringtun-cli starts a userspace WireGuard tunnel for an interface and can be used with wg and wg-quick through WG_QUICK_USERSPACE_IMPLEMENTATION. As a library, it exposes the WireGuard protocol machinery for clients that implement their own transport and tunnel integration.

Because it is userspace and permissively licensed, BoringTun is useful where the Linux kernel WireGuard module is unavailable or where client apps need portable WireGuard behavior across mobile and desktop platforms.

### パッケージ好きにとっての重要性

BoringTun matters to package nerds because it is a Rust networking primitive with a real production pedigree, a split library/CLI shape, and a clear relationship to the broader WireGuard ecosystem.

It also illustrates the packaging distinction between protocol implementation, command-line frontend, and OS integration: installing boringtun-cli gives a binary, but useful operation still depends on TUN devices, WireGuard tooling, and platform networking permissions.

### タイムライン

- 2018-10: Official GitHub repository metadata shows the repository created.
- 2019-03: Cloudflare announced and open sourced BoringTun.
- 2021: Cloudflare described WARP for Linux using BoringTun as its WireGuard implementation.
- 2022: GitHub release metadata shows v0.4.0 in the public release feed.
- 2026: Repository metadata shows continued activity.

### Related projects

- WireGuard is the VPN protocol BoringTun implements.
- wireguard-go is the userspace implementation Cloudflare compared against when explaining why BoringTun was created.
- Cloudflare WARP is the large-scale client product that uses BoringTun.

### ソース

- <https://api.github.com/repos/cloudflare/boringtun>
- <https://api.github.com/repos/cloudflare/boringtun/releases?per_page=100>
- <https://blog.cloudflare.com/announcing-warp-for-linux-and-proxy-mode/>
- <https://blog.cloudflare.com/boringtun-userspace-wireguard-rust/>
- <https://github.com/cloudflare/boringtun>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

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