Automic VaultAutomic Vault

brew

Install boringtun with Homebrew, Nix

Userspace WireGuard implementation in Rust. Version 0.7.1 via Homebrew; verified 2026-05-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install boringtun

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#boringtun

nixpkgs package indexes · pkgs/by-name/bo/boringtun/package.nix · source: api.github.com

overview

Package summary

Userspace WireGuard implementation in Rust

Commands and aliases

  • boringtun-cli

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
boringtun-clicliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.7.1
manager updated2026-05-02
local dataok
upstreamcurrent
latest detectedboringtun-0.7.1

https://github.com/cloudflare/boringtun

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:boringtun
Version0.7.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/boringtun
Homepagehttps://github.com/cloudflare/boringtun
Repositoryhttps://github.com/cloudflare/boringtun
Upstream docshttps://github.com/cloudflare/boringtun#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/cloudflare/boringtun/archive/refs/tags/boringtun-0.7.1.tar.gz
Last updated2026-05-02T04:20:23Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
Caveatsboringtun-cli requires root privileges so you will need to run `sudo boringtun-cli utun`. You should be certain that you trust any software you grant root privileges.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameboringtun
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

boringtun

nix profile install nixpkgs#boringtun
  • normalized package name match
  • Matched by: Boringtun
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bo/boringtun/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment