macOS
brew install wireguard-toolslocal Homebrew formula metadata
sudo port install wireguard-toolsMacPorts ports tree · net/wireguard-tools/Portfile · 来源: api.github.com
安装
brew install wireguard-toolslocal Homebrew formula metadata
sudo port install wireguard-toolsMacPorts ports tree · net/wireguard-tools/Portfile · 来源: api.github.com
sudo apk add wireguard-toolsAlpine Linux edge package indexes · wireguard-tools · 来源: dl-cdn.alpinelinux.org
sudo apt install wireguard-toolsDebian stable package indexes · wireguard-tools · 来源: deb.debian.org
sudo dnf install wireguard-toolsFedora Rawhide package metadata · wireguard-tools · 来源: dl.fedoraproject.org
nix profile install nixpkgs#wireguard-toolsnixpkgs package indexes · pkgs/by-name/wi/wireguard-tools/package.nix · 来源: api.github.com
sudo pacman -S wireguard-toolsArch Linux sync databases · wireguard-tools · 来源: geo.mirror.pkgbuild.com
sudo zypper install wireguard-toolsopenSUSE Tumbleweed package metadata · wireguard-tools · 来源: download.opensuse.org
概览
Tools for the WireGuard secure network tunnel
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/wireguard/INTERFACE.confCredential-bearing paths to review before unattended agent runs.
/etc/wireguard/INTERFACE.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
wg | cli | 全局可执行文件 | |
wg-quick | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:wireguard-tools |
|---|---|
| 版本 | 1.0.20260223 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/wireguard-tools |
| 主页 | https://www.wireguard.com/ |
| 仓库 | https://git.zx2c4.com/wireguard-tools |
| 上游文档 | https://www.wireguard.com/compilation |
| 许可证 | GPL-2.0-only |
| 源码归档 | https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-1.0.20260223.tar.xz |
| 最后更新 | 2026-05-18T12:02:02-04:00 |
| Pulse | updated |
| 依赖 | bash, wireguard-go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | wireguard-tools |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
wireguard-tools 1.0.20210914-3
fast, modern, secure kernel VPN tunnel (userland utilities)
sudo apt install wireguard-toolswireguard-tools
nix profile install nixpkgs#wireguard-toolswireguard-tools 1.0.20210914-1ubuntu4
fast, modern, secure kernel VPN tunnel (userland utilities)
sudo apt install wireguard-toolswireguard-tools 1.0.20260223-r0
Next generation secure network tunnel: userspace tools
sudo apk add wireguard-toolswireguard-tools-bash-completion 1.0.20260223-r0
Bash completions for wireguard-tools
sudo apk add wireguard-tools-bash-completionwireguard-tools-doc 1.0.20260223-r0
Next generation secure network tunnel: userspace tools (documentation)
sudo apk add wireguard-tools-docwireguard-tools-openrc 1.0.20260223-r0
Next generation secure network tunnel: userspace tools (OpenRC init scripts)
sudo apk add wireguard-tools-openrcwireguard-tools-systemd 1.0.20260223-r0
Next generation secure network tunnel: userspace tools (systemd files)
sudo apk add wireguard-tools-systemdwireguard-tools-wg 1.0.20260223-r0
Next generation secure network tunnel: userspace tools (wg)
sudo apk add wireguard-tools-wgwireguard-tools-wg-quick 1.0.20260223-r0
Next generation secure network tunnel: userspace tools (wg-quick)
sudo apk add wireguard-tools-wg-quickwireguard-tools 1.0.20260223-1.fc45
Fast, modern, secure VPN tunnel
sudo dnf install wireguard-toolswireguard-tools 1.0.20260223-1
next generation secure network tunnel - tools for configuration
sudo pacman -S wireguard-toolswireguard-tools 1.0.20260223-1.2
WireGuard userspace tools
sudo zypper install wireguard-toolswireguard-tools
sudo port install wireguard-tools来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.