macOS
brew install headscale-clilocal Homebrew formula metadata
安装
brew install headscale-clilocal Homebrew formula metadata
sudo apk add headscaleAlpine Linux edge package indexes · headscale · 来源: dl-cdn.alpinelinux.org
sudo dnf install headscaleFedora Rawhide package metadata · headscale · 来源: dl.fedoraproject.org
nix profile install nixpkgs#headscalenixpkgs package indexes · pkgs/by-name/he/headscale/package.nix · 来源: api.github.com
sudo pacman -S headscaleArch Linux sync databases · headscale · 来源: geo.mirror.pkgbuild.com
sudo zypper install headscaleopenSUSE Tumbleweed package metadata · headscale · 来源: download.opensuse.org
概览
CLI for headscale, an open-source implementation of the Tailscale control server
历史
headscale-cli is the packaged command-line client for Headscale, an open source, self-hosted implementation of the Tailscale control server. The package exists for operators who want the `headscale` executable on a workstation without installing the full server formula.
Headscale's repository was created in June 2020, after Tailscale popularized WireGuard-based private overlay networks with a proprietary coordination server. The upstream README states the design goal plainly: implement a self-hosted, open source alternative to the Tailscale control server for self-hosters, hobbyists, personal networks, and small open source organizations.
The CLI is part of the same Go codebase as the server. It manages users, nodes, pre-auth keys, routes, DNS, policies, API keys, and other control-plane state. The remote CLI path became important when operators wanted to administer a server from another machine rather than SSHing into the host.
Headscale 0.13.0 added API key support and remote control of headscale via CLI. The remote CLI documentation requires a server version of 0.13.0 or newer, TLS, an API key, and environment variables for the CLI address and key.
Headscale adoption is tied to the self-hosted networking community and to users who like Tailscale clients but want to operate their own control plane. The repository's popularity and package spread across Homebrew, Nix, Alpine, Fedora, Arch, and openSUSE ecosystems show that it became a standard item in self-hosting package sets.
The separate Homebrew headscale-cli packaging reflects a practical operator split: servers run on Linux or containers, while administrative workstations may be macOS laptops that only need the client binary.
Local usage starts with built-in help and server-side actions such as creating users, registering nodes, and generating pre-auth keys. Remote usage creates an API key on the server, installs the same-version headscale binary on the workstation, sets HEADSCALE_CLI_ADDRESS and HEADSCALE_CLI_API_KEY, and then runs commands such as `headscale nodes list` against the remote instance.
The CLI is also part of automated Headscale operations: scripts can create users, manage registration keys, list or expire nodes, and inspect routes without touching the database directly.
headscale-cli is a package-nerd favorite because it separates admin tooling from daemon deployment. The Homebrew package lets a macOS or Linux workstation manage a Headscale server while the server itself might be installed from a distro package, container image, NixOS module, or source build.
It is also a good example of packaging around a monorepo executable: the upstream project ships one binary, while package managers can expose a CLI-only formula to avoid pulling users into a server service lifecycle they did not ask for.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
headscale | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/juanfont/headscale
安装元数据
| 软件包键 | brew:headscale-cli |
|---|---|
| 版本 | 0.29.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/headscale-cli |
| 主页 | https://github.com/juanfont/headscale |
| 仓库 | https://github.com/juanfont/headscale |
| 上游文档 | https://docs.headscale.org/ref/remote-cli |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/juanfont/headscale/archive/refs/tags/v0.29.2.tar.gz |
| 最后更新 | 2026-07-02T02:01:09Z |
| Pulse | updated |
| 构建依赖 | 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 | headscale-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
headscale
nix profile install nixpkgs#headscaleheadscale 0.27.1-r5
Open source, self-hosted implementation of the Tailscale control server
https://github.com/juanfont/headscale
sudo apk add headscaleheadscale-bash-completion 0.27.1-r5
Bash completions for headscale
https://github.com/juanfont/headscale
sudo apk add headscale-bash-completionheadscale-fish-completion 0.27.1-r5
Fish completions for headscale
https://github.com/juanfont/headscale
sudo apk add headscale-fish-completionheadscale-openrc 0.27.1-r5
Open source, self-hosted implementation of the Tailscale control server (OpenRC init scripts)
https://github.com/juanfont/headscale
sudo apk add headscale-openrcheadscale-zsh-completion 0.27.1-r5
Zsh completions for headscale
https://github.com/juanfont/headscale
sudo apk add headscale-zsh-completionheadscale 0.28.0-1.fc45
Self-hosted implementation of the Tailscale control server
https://github.com/juanfont/headscale
sudo dnf install headscaleheadscale 0.28.0-1
An open source, self-hosted implementation of the Tailscale coordination server.
https://github.com/juanfont/headscale
sudo pacman -S headscaleheadscale 0.28.0-1.4
An open source, self-hosted implementation of the Tailscale control server
sudo zypper install headscale来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.