jq
jq is a command-line tool for processing JSON data.
Get a map of IP addresses for devices in my tailnet
Get a list of values in a JSON object with jq
The equivalent to Python’s
dict.values()isjq '[.[]]'.How to get the IP address of a device in my Tailnet
Use
tailscale status --jsonand filter the output usingjq.