nixscale
Sign up

Command list

Every Tailscale command you need with nixscale on one page, with per-operating-system notes.

For:MemberAdminOwnerUpdated September 16, 2026

This page collects the commands you need while using nixscale. They're the same on all three operating systems. Commands that only read status (status, ip, ping, version) need no privileges; for commands that change the connection (up, down, login, logout, set), put sudo in front of them on Linux.

Connecting

Connect to a network
tailscale up --login-server=https://k7mp.hs.nixscale.com --authkey=<key>
Connect to a second network (separate profile)
tailscale login --login-server=https://k7mp.hs.nixscale.com --authkey=<key>
Connect, clearing previous settings
tailscale up --reset --login-server=https://k7mp.hs.nixscale.com --authkey=<key>

You get the command from the panel: Add device → Create key → Copy command.

Status and address

Connection status
tailscale status
My own address
tailscale ip -4
Version
tailscale version

Turning the connection on and off

Disconnect temporarily
tailscale down
Reconnect
tailscale up
Sign out completely
tailscale logout

After tailscale down, tailscale up needs no new key; after tailscale logout, you need a new key from the panel.

Profiles (several networks)

List profiles
tailscale switch --list
Switch profile
tailscale switch profile-name

Sharing a local network (gateway)

Advertise a local network
sudo tailscale up --login-server=https://k7mp.hs.nixscale.com --authkey=<key> --advertise-routes=192.168.10.0/24
Accept shared networks (Linux)
sudo tailscale up --accept-routes

An advertised network has to be approved in the panel: Share a local network.

Operating system notes

Commands run in Terminal and don't need sudo. In the Standalone app, enable the command-line tool under Settings → CLI integration; in the App Store version, define an alias:

Terminal
alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"

Testing connectivity

Ping an address
ping 100.112.0.2

ping needs ICMP to be allowed in the rules. You can also try the device name: ping office-gateway.