pkg.soopen package index

brew / 排名 826

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 wireguard-tools

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wireguard-tools

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wireguard-tools

MacPorts ports tree · net/wireguard-tools/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add wireguard-tools

Alpine Linux edge package indexes · wireguard-tools · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install wireguard-tools

Debian stable package indexes · wireguard-tools · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install wireguard-tools

Fedora Rawhide package metadata · wireguard-tools · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#wireguard-tools

nixpkgs package indexes · pkgs/by-name/wi/wireguard-tools/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S wireguard-tools

Arch Linux sync databases · wireguard-tools · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install wireguard-tools

openSUSE Tumbleweed package metadata · wireguard-tools · 来源: download.opensuse.org

概览

软件包摘要

Tools for the WireGuard secure network tunnel

命令和别名

  • wg
  • wg-quick

历史

项目历史与用法

wireguard-tools is the command-line companion package for WireGuard. It supplies `wg`, the low-level configuration utility, and `wg-quick`, the convenience script that turns simple interface configuration files into working tunnels.

项目历史

WireGuard was designed around a deliberately small kernel or userspace tunnel implementation plus simple userspace configuration. The official repositories page identifies wireguard-tools as the cross-platform userspace tooling for configuring WireGuard implementations, including `wg(8)` and `wg-quick(8)`.

`wg` became the protocol-specific tool for setting and reading interface state, peers, keys, endpoints, allowed IPs, handshakes, and transfer counters. `wg-quick` grew into the pragmatic wrapper for common host setups: it reads an interface-named config file, adds the interface, assigns addresses, configures routes, and then tears that setup down again on request.

采用历史

The tools package became the everyday interface to WireGuard both before and after the protocol reached Linux 5.6. Before mainline inclusion, it paired with out-of-tree kernel modules and userspace implementations; after inclusion, it remained necessary because the kernel feature alone does not provide the user-facing `wg` and `wg-quick` commands.

Its cross-platform scope also matters: the official project describes wireguard-tools as tooling for WireGuard implementations rather than only for Linux. Package ecosystems therefore treat it as the stable CLI surface that can sit on top of kernel drivers, BSD ports, macOS interfaces, Windows support, and wireguard-go.

使用方式

`wg` is used for precise interface inspection and configuration: showing runtime status, setting peers, applying keys, and dumping machine-readable state for scripts. It is the command admins reach for when they need to see whether a tunnel has handshaken or exactly which allowed IPs are active.

`wg-quick` is the fast path for common deployments. It looks for an interface config such as `/etc/wireguard/wg0.conf`, applies WireGuard settings, assigns addresses, and infers routes from peer allowed IPs, while still allowing more advanced users to bypass it and call `wg` plus platform networking commands directly.

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

This is the package that turns WireGuard from a kernel feature or protocol implementation into something shell users can operate. For many systems, installing WireGuard really means installing the tunnel implementation plus wireguard-tools.

The package is also beloved in automation because `wg` has script-friendly output and `wg-quick` keeps the common one-file tunnel pattern boring. That combination made WireGuard unusually approachable for sysadmins compared with older VPN stacks that relied on larger daemon configurations and certificate-heavy workflows.

时间线

  • 2017: The WireGuard paper describes a separate userspace `wg(8)` tool for configuration.
  • 2019: WireGuard is accepted into the net-next path toward Linux 5.6, increasing the importance of stable userspace tooling around the kernel implementation.
  • 2020: Linux 5.6 ships WireGuard support; wireguard-tools remains the common CLI package for configuring it.
  • 2026: The upstream cgit repository continues to publish tagged wireguard-tools releases and cross-platform fixes.

Related projects

  • wireguard-go can create a userspace WireGuard interface that is then configured with `wg`.
  • NetworkManager and desktop network settings tools can cover higher-level workflows, but wireguard-tools remains the reference command-line layer.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:network

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/wireguard/INTERFACE.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/wireguard/INTERFACE.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wg可执行文件已索引可执行文件从本地可执行文件索引发现。
wg-quick可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.0.20260223
管理器更新时间2026-05-18
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:wireguard-tools
版本1.0.20260223
软件包管理器Homebrew
主页https://www.wireguard.com/
最后更新2026-05-18T12:02:02-04:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

wireguard-tools 1.0.20210914-3

fast, modern, secure kernel VPN tunnel (userland utilities)

https://www.wireguard.com

sudo apt install wireguard-tools
  • Section: net
  • Architecture: amd64
  • Source Package: wireguard
  • 1 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Wireguard Tools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: wireguard-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

wireguard-tools

nix profile install nixpkgs#wireguard-tools
  • normalized package name match
  • 匹配方式:Wireguard Tools
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wi/wireguard-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

wireguard-tools 1.0.20210914-1ubuntu4

fast, modern, secure kernel VPN tunnel (userland utilities)

https://www.wireguard.com

sudo apt install wireguard-tools
  • Section: net
  • Architecture: amd64
  • Source Package: wireguard
  • 1 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Wireguard Tools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: wireguard-tools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

wireguard-tools 1.0.20260223-r0

Next generation secure network tunnel: userspace tools

https://www.wireguard.com

sudo apk add wireguard-tools
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • 1 依赖
  • normalized package name match
  • 匹配方式:Wireguard Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

wireguard-tools-bash-completion 1.0.20260223-r0

Bash completions for wireguard-tools

https://www.wireguard.com

sudo apk add wireguard-tools-bash-completion
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • normalized package name match
  • 匹配方式:Wireguard Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-tools-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

wireguard-tools-doc 1.0.20260223-r0

Next generation secure network tunnel: userspace tools (documentation)

https://www.wireguard.com

sudo apk add wireguard-tools-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • normalized package name match
  • 匹配方式:Wireguard Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-tools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

wireguard-tools-openrc 1.0.20260223-r0

Next generation secure network tunnel: userspace tools (OpenRC init scripts)

https://www.wireguard.com

sudo apk add wireguard-tools-openrc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • 1 依赖
  • normalized package name match
  • 匹配方式:Wireguard Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-tools-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

wireguard-tools-systemd 1.0.20260223-r0

Next generation secure network tunnel: userspace tools (systemd files)

https://www.wireguard.com

sudo apk add wireguard-tools-systemd
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • normalized package name match
  • 匹配方式:Wireguard Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-tools-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

wireguard-tools-wg 1.0.20260223-r0

Next generation secure network tunnel: userspace tools (wg)

https://www.wireguard.com

sudo apk add wireguard-tools-wg
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wireguard Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-tools-wg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

wireguard-tools-wg-quick 1.0.20260223-r0

Next generation secure network tunnel: userspace tools (wg-quick)

https://www.wireguard.com

sudo apk add wireguard-tools-wg-quick
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wireguard Tools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wireguard-tools-wg-quick from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

wireguard-tools 1.0.20260223-2.fc45

Fast, modern, secure VPN tunnel

https://www.wireguard.com/

sudo dnf install wireguard-tools
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wireguard Tools
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wireguard-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

wireguard-tools 1.0.20260223-1

next generation secure network tunnel - tools for configuration

https://www.wireguard.com/

sudo pacman -S wireguard-tools
  • License: GPL
  • Architecture: x86_64
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Wireguard Tools
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: wireguard-tools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

wireguard-tools 1.0.20260223-2.3

WireGuard userspace tools

https://www.wireguard.com/

sudo zypper install wireguard-tools
  • License: GPL-2.0-only
  • Category: Productivity/Networking/Security
  • Architecture: x86_64
  • Source Package: wireguard-tools
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wireguard Tools
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wireguard-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

wireguard-tools

sudo port install wireguard-tools
  • normalized package name match
  • 匹配方式:Wireguard Tools
MacPorts ports tree · api.github.com · MacPorts ports tree: net/wireguard-tools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation