Skip to content

Instantly share code, notes, and snippets.

@jason-riddle
Created October 21, 2025 03:58
Show Gist options
  • Save jason-riddle/dc056774be01c1bef6f12ea9d34b35d8 to your computer and use it in GitHub Desktop.
Save jason-riddle/dc056774be01c1bef6f12ea9d34b35d8 to your computer and use it in GitHub Desktop.
# 1. Create the keyring directory
sudo mkdir -p --mode=0755 /usr/share/keyrings
# 2. Fetch the GPG key for the repo (Trixie-specific)
curl -fsSL https://pkgs.tailscale.com/unstable/debian/trixie.noarmor.gpg \
| sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
# 3. Add the Tailscale apt repository list for Trixie
curl -fsSL https://pkgs.tailscale.com/unstable/debian/trixie.tailscale-keyring.list \
| sudo tee /etc/apt/sources.list.d/tailscale.list
# 4. Update apt and install
sudo apt-get update
sudo apt-get install tailscale
# 5. Once installed, enable/start and bring it up:
sudo systemctl enable --now tailscaled
sudo tailscale up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment