Skip to content
Sonos CLI in TUI mode showing playback controls

Sonos CLI

Terminal-native control for your Sonos speakers. Play, pause, group, and configure — all from the command line.
Terminal window
brew install tatimblin/tap/sonos-cli

Zero config

Auto-discovers speakers on your network. Just install and run.

Group-aware

Target individual speakers or entire groups with —speaker and —group flags.

Built on Sonos SDK

Same reliable Rust SDK under the hood. Consistent behavior, no surprises.

Scriptable

Compose with shell scripts, cron jobs, and automation tools.

Terminal window
sonos speakers # Discover your speakers
sonos status # See what's playing
sonos volume 50 --group "Living Room"
sonos next # Skip track

See the full command reference for every available command and flag.