macOS
brew install headscale-clilocal Homebrew formula metadata
brew
CLI for headscale, an open-source implementation of the Tailscale control server. Version 0.29.2 via Homebrew; verified 2026-07-02.
install
brew install headscale-clilocal Homebrew formula metadata
sudo apk add headscaleAlpine Linux edge package indexes · headscale · source: dl-cdn.alpinelinux.org
sudo dnf install headscaleFedora Rawhide package metadata · headscale · source: dl.fedoraproject.org
nix profile install nixpkgs#headscalenixpkgs package indexes · pkgs/by-name/he/headscale/package.nix · source: api.github.com
sudo pacman -S headscaleArch Linux sync databases · headscale · source: geo.mirror.pkgbuild.com
sudo zypper install headscaleopenSUSE Tumbleweed package metadata · headscale · source: download.opensuse.org
overview
CLI for headscale, an open-source implementation of the Tailscale control server
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
headscale | cli | global executable |
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.
https://github.com/juanfont/headscale
install metadata
| Package key | brew:headscale-cli |
|---|---|
| Version | 0.29.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/headscale-cli |
| Homepage | https://github.com/juanfont/headscale |
| Repository | https://github.com/juanfont/headscale |
| Upstream docs | https://docs.headscale.org/ref/remote-cli |
| License | BSD-3-Clause |
| Source archive | https://github.com/juanfont/headscale/archive/refs/tags/v0.29.2.tar.gz |
| Last updated | 2026-07-02T02:01:09Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 headscalesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.