# Install headscale-cli

CLI for headscale, an open-source implementation of the Tailscale control server. Version 0.28.0 via Homebrew; verified 2026-05-22.

## Install

```sh
sudo av install brew:headscale-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install headscale-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add headscale
```

  Evidence: Alpine Linux edge package indexes: headscale from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install headscale
```

  Evidence: Fedora Rawhide package metadata: headscale from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#headscale
```

  Evidence: nixpkgs package indexes: pkgs/by-name/he/headscale/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S headscale
```

  Evidence: Arch Linux sync databases: headscale from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install headscale
```

  Evidence: openSUSE Tumbleweed package metadata: headscale from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:headscale-cli
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/headscale-cli>
- **Version:** 0.28.0
- **Source summary:** CLI for headscale, an open-source implementation of the Tailscale control server
- **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.28.0.tar.gz>
- **Last updated:** 2026-05-22T20:53:14+02:00
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- headscale (cli)
- headscale (alias)

## Build Dependencies

- go

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.28.0
- Package-manager updated: 2026-05-22
- Local data status: ok
- Upstream repository: https://github.com/juanfont/headscale
- Upstream latest detected: v0.28.0 (current)

## 安全说明

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **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:** stable

## Other Package-Manager Records

- Nix - headscale: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/he/headscale/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - headscale - 0.27.1-r5: installed executable or alias match | Alpine Linux edge package indexes: headscale from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source, self-hosted implementation of the Tailscale control server | https://github.com/juanfont/headscale
- apk - headscale-bash-completion - 0.27.1-r5: installed executable or alias match | Alpine Linux edge package indexes: headscale-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for headscale | https://github.com/juanfont/headscale
- apk - headscale-fish-completion - 0.27.1-r5: installed executable or alias match | Alpine Linux edge package indexes: headscale-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for headscale | https://github.com/juanfont/headscale
- apk - headscale-openrc - 0.27.1-r5: installed executable or alias match | Alpine Linux edge package indexes: headscale-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source, self-hosted implementation of the Tailscale control server (OpenRC init scripts) | https://github.com/juanfont/headscale
- apk - headscale-zsh-completion - 0.27.1-r5: installed executable or alias match | Alpine Linux edge package indexes: headscale-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for headscale | https://github.com/juanfont/headscale
- dnf - headscale - 0.28.0-1.fc45: installed executable or alias match | Fedora Rawhide package metadata: headscale from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Self-hosted implementation of the Tailscale control server | https://github.com/juanfont/headscale
- pacman - headscale - 0.28.0-1: installed executable or alias match | Arch Linux sync databases: headscale from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An open source, self-hosted implementation of the Tailscale coordination server. | https://github.com/juanfont/headscale
- zypper - headscale - 0.28.0-1.4: installed executable or alias match | openSUSE Tumbleweed package metadata: headscale from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | An open source, self-hosted implementation of the Tailscale control server | https://headscale.net


## Related Links

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [tailscale](https://www.automicvault.com/zh-hans/pkg/brew/tailscale/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [wireguard-tools](https://www.automicvault.com/zh-hans/pkg/brew/wireguard-tools/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [wireguard-go](https://www.automicvault.com/zh-hans/pkg/brew/wireguard-go/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [wgcf](https://www.automicvault.com/zh-hans/pkg/brew/wgcf/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [boringtun](https://www.automicvault.com/zh-hans/pkg/brew/boringtun/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [openvpn](https://www.automicvault.com/zh-hans/pkg/brew/openvpn/) - Shares av.db curated category or tags: cli, networking, vpn.
- [sshuttle](https://www.automicvault.com/zh-hans/pkg/brew/sshuttle/) - Shares av.db curated category or tags: cli, networking, vpn.
- [openfortivpn](https://www.automicvault.com/zh-hans/pkg/brew/openfortivpn/) - Shares av.db curated category or tags: cli, networking, vpn.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
