Automic VaultAutomic Vault

brew

wireguard-go を Homebrew, apk, apt, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install wireguard-go

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install wireguard-go

MacPorts ports tree · net/wireguard-go/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add wireguard-go

Alpine Linux edge package indexes · wireguard-go · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install wireguard-go

Debian stable package indexes · wireguard-go · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#wireguard-go

nixpkgs package indexes · pkgs/by-name/wi/wireguard-go/package.nix · ソース: api.github.com

概要

パッケージ概要

Userspace Go implementation of WireGuard

コマンドとエイリアス

  • wireguard-go

履歴

プロジェクトの歴史と使われ方

wireguard-go is the official Go userspace implementation of WireGuard, the modern encrypted layer-3 VPN protocol created by Jason A. Donenfeld. It exists alongside the Linux kernel implementation and is most useful where a kernel driver is unavailable, undesirable, or less portable than a userspace tunnel process.

プロジェクトの歴史

WireGuard itself was designed as a small, auditable alternative to IPsec and OpenVPN, with a public technical paper describing it as a secure network tunnel implemented as a Linux kernel virtual network interface. The WireGuard project later organized several official implementation repositories, including the kernel implementation, cross-platform tools, and wireguard-go as a cross-platform userspace implementation maintained by Donenfeld.

The role of wireguard-go became clearer after WireGuard entered the Linux kernel line: Linux users are generally expected to use the kernel module for performance and integration, while wireguard-go remains the portable fallback for platforms and situations where a userspace TUN implementation is the practical route. Its README explicitly tells Linux users that the kernel module is faster and better integrated, which gives the package a deliberately narrow but important niche.

採用の歴史

WireGuard's wider adoption accelerated when it was merged for Linux 5.6 in 2020, turning the protocol from an out-of-tree module plus tools into a standard Linux networking feature. That made userspace implementations less central on modern Linux but more valuable as cross-platform compatibility pieces for macOS, BSD-derived systems, containers, embedded environments, and application stacks that need a WireGuard tunnel without depending on a kernel module.

In package-manager culture, wireguard-go is commonly installed with wireguard-tools or used by higher-level products that need an implementation of the WireGuard protocol in userspace. It is not the glamorous default path on current Linux, but it is the package that makes the same protocol available when the native interface is missing.

使われ方

A typical invocation creates a WireGuard-style network interface by running a command such as `wireguard-go wg0`; the interface can then be configured with `wg(8)` plus ordinary platform networking tools. The upstream README describes it as creating the interface and then forking into the background, with a foreground mode available for supervision and logging.

The package is usually part of a larger WireGuard setup rather than a complete VPN product by itself. Users still need keys, peers, allowed IPs, routing, and address configuration, usually handled through `wg`, `wg-quick`, system network managers, or application-specific wrappers.

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

For package maintainers, wireguard-go is the portability valve in the WireGuard ecosystem: small, official, and intentionally less preferred than the kernel implementation on Linux, but essential when kernels, operating systems, or sandboxed deployments cannot provide a native WireGuard device.

Its significance is mostly negative space: if the platform has first-class WireGuard support, users may never notice it; when it does not, this package is often the thing that lets the rest of the WireGuard tooling keep working.

タイムライン

  • 2017: Donenfeld's WireGuard technical paper describes the design goals of a small, production-oriented secure network tunnel.
  • 2019: The WireGuard project lists wireguard-go as the official cross-platform userspace implementation in Go.
  • 2020: WireGuard is included in Linux 5.6, shifting mainstream Linux use toward the kernel driver while preserving wireguard-go for portability.
  • 2026: The WireGuard repositories page still lists wireguard-go as a complete official implementation.

Related projects

  • wireguard-tools provides `wg` and `wg-quick`, the common command-line tools used to configure interfaces created by either the kernel implementation or wireguard-go.
  • wireguard-linux and wireguard-linux-compat cover the kernel side of the same protocol, while other official repositories cover Android, BSD, Rust, and experimental implementations.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
wireguard-gocliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版0.0.20250522
マネージャ更新日2026-07-25
ローカルデータOK
上流not checked
検出された最新未検出

https://www.wireguard.com/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:wireguard-go
バージョン0.0.20250522
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/wireguard-go
ホームページhttps://www.wireguard.com/
リポジトリhttps://git.zx2c4.com/wireguard-go
上流ドキュメントhttps://git.zx2c4.com/wireguard-go/about
ライセンスMIT
ソースアーカイブhttps://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-0.0.20250522.tar.xz
最終更新2026-07-25T22:40:21+02:00
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

golang-golang.zx2c4-wireguard-dev 0.0.20231211-1

Userspace implementation of WireGuard in Go (library)

https://git.zx2c4.com/wireguard-go/about/

sudo apt install golang-golang.zx2c4-wireguard-dev
  • Section: golang
  • Architecture: all
  • Source Package: wireguard-go
  • 6 依存関係
  • normalized package name match
  • 一致条件: Wireguard Go
Debian stable package indexes · deb.debian.org · Debian stable package indexes: golang-golang.zx2c4-wireguard-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

wireguard-go 0.0.20231211-1+b9

Userspace implementation of WireGuard in Go (program)

https://git.zx2c4.com/wireguard-go/about/

sudo apt install wireguard-go
  • Section: golang
  • Architecture: amd64
  • Source Package: wireguard-go
  • 1 依存関係
  • normalized package name match
  • 一致条件: Wireguard Go
Debian stable package indexes · deb.debian.org · Debian stable package indexes: wireguard-go from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

wireguard-go

nix profile install nixpkgs#wireguard-go
  • normalized package name match
  • 一致条件: Wireguard Go
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wi/wireguard-go/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

golang-golang.zx2c4-wireguard-dev 0.0.20230223-1

Userspace implementation of WireGuard in Go (library)

https://git.zx2c4.com/wireguard-go/about/

sudo apt install golang-golang.zx2c4-wireguard-dev
  • Section: universe/golang
  • Architecture: all
  • Source Package: wireguard-go
  • 3 依存関係
  • normalized package name match
  • 一致条件: Wireguard Go
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: golang-golang.zx2c4-wireguard-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

wireguard-go 0.0.20230223-1

Userspace implementation of WireGuard in Go (program)

https://git.zx2c4.com/wireguard-go/about/

sudo apt install wireguard-go
  • Section: universe/golang
  • Architecture: amd64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Wireguard Go
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: wireguard-go from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

wireguard-go 0.0.20250522-r9

Next generation secure network tunnel: userspace implementation in go

https://www.wireguard.com

sudo apk add wireguard-go
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-go
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Wireguard Go
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-go from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

wireguard-go-doc 0.0.20250522-r9

Next generation secure network tunnel: userspace implementation in go (documentation)

https://www.wireguard.com

sudo apk add wireguard-go-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-go
  • normalized package name match
  • 一致条件: Wireguard Go
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-go-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

wireguard-go

sudo port install wireguard-go
  • normalized package name match
  • 一致条件: Wireguard Go
MacPorts ports tree · api.github.com · MacPorts ports tree: net/wireguard-go/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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