Command Reference
The full surface of sonos. Every page documents the command, its flags, examples, and what it talks to on the speaker.
Global flags apply to every command:
| Flag | Default | What it does |
|---|---|---|
--name string | — | Target speaker by name (matched against topology). |
--ip string | — | Target speaker by IP — skips discovery. |
--format string | plain | Output format: plain, json, or tsv. |
--timeout duration | 5s | Discovery and per-call timeout. |
--debug | off | Print SOAP traces to stderr. |
#Discovery & status
sonos discoversonos status(alias:now)sonos watch