CMUS-REMOTE(1)
๐ CMUS-REMOTE ๐
okay bestie, welcome to the cmus-remote(1) page โ that's section 1 of the General Commands Manual, and it's literally the little remote control that talks to your cmus player. no cap.
โจ NAME โจ
cmus-remote โ control cmus ๐๏ธ
๐ธ SYNOPSIS ๐ธ
cmus-remote [OPTION]... [FILE|DIR|PLAYLIST]...
cmus-remote -C COMMAND...
cmus-remote
๐ฆ DESCRIPTION ๐ฆ
so basically: you take a FILE, DIR or PLAYLIST and you add it to the playlist, the library (-l) or the play queue (-q). that's the vibe.
but here's the tea โ if you give it no arguments at all, cmus-remote goes and reads raw commands straight from stdin, one command per line. ๐ฅ and these raw commands? they're cmus' command mode commands โ the exact same ones you use in config files and key bindings. cmus(1) has the full list if you wanna go read it, bestie. and for consistency, searching is supported too: -C /text. ๐
and if you pass -C, then every single command line argument gets treated as a raw command. periodt.
๐ OPTIONS ๐
--server SOCKETโ connect through socketSOCKETinstead of the default$XDG_RUNTIME_DIR/cmus-socket. ๐--passwd PASSWDโ the password to use for a TCP/IP connection. ๐--helpโ show usage info and dip out.--versionโ show version info and dip out.-p,--playโ start playing. โถ๏ธ-u,--pauseโ toggle pause. โฏ๏ธ-U,--pause-playbackโ pause it, but only if it's currently playing.-s,--stopโ stop playing. ๐-n,--nextโ skip forward in the playlist. โญ๏ธ-r,--prevโ skip backward in the playlist. โฎ๏ธ-R,--repeatโ toggle repeat. ๐-S,--shuffleโ toggle shuffle. ๐-v,--volume VOLโ change the volume. see thevolcommand incmus(1). ๐-k,--seek SEEKโ seek. see theseekcommand incmus(1). โฉ-f,--file FILEโ play from file.-Qโ get player status info. same as-C status. note thatstatusis a special command that's only available tocmus-remote, iykyk. ๐-l,--libraryโ modify the library instead of the playlist.-P,--playlistโ modify the playlist (this is the default, btw).-q,--queueโ modify the play queue instead of the playlist.-c,--clearโ clear the playlist, the library (-l) or the play queue (-q). ๐งน-C,--rawโ treat the arguments (instead of stdin) as raw commands.
๐ REMOTE COMMANDS ๐
these are the special ones โ only available to cmus-remote. main character energy only.
statusโ print info about the track that's currently playing. ๐ตformat_printโ print the arguments as Format Strings. each argument starts a new line. ๐
๐ EXAMPLES ๐
add playlists/files/directories/URLs to the library view (1 & 2):
$ cmus-remote -l music.m3u \
http://live.urn1350.net:8080/urn_high.ogg
load (clear and add) a playlist to the playlist view (3):
$ cmus-remote -c music.m3u
three different ways to toggle repeat, because we love options:
$ cmus-remote -R
$ cmus-remote -C "toggle repeat"
$ cmus-remote
toggle repeat
^D
query settings or key bindings:
$ cmus-remote -C "set repeat?"
setting: 'repeat=false'
$ cmus-remote -C "showbind common a"
bind common a win-add-l
dump the playlist to stdout:
$ cmus-remote -C "save -p -"
[...]
and yes, search works too:
$ cmus-remote -C /beatles
๐ SEE ALSO ๐
๐ AUTHOR ๐
written by Timo Hirvonen <tihirvon@gmail.com> ๐ซถ
that's the whole page bestie, go forth and control your music ๐
okay so this was cmus version 05/11/2006 of the CMUS-REMOTE(1) page, and that's the entire manual โ slay, you read all of it, I'm so proud of you ๐โจ
๐ฆ where this page comes from
- alpine 3.24: cmus-doc 2.12.0-r3 ยท GPL-2.0-or-later
- arch rolling: cmus 2.12.0-7 ยท GPL-2.0-only
- debian bookworm: cmus 2.10.0-3
- debian trixie: cmus 2.12.0-1 ยท GPL-2.0-or-later
- nixos 26.05: cmus 2.12.0
- nixpkgs unstable: cmus 2.12.0
- opensuse-leap 16.0: cmus 2.11.0-bp160.1.7 ยท GPL-2.0-only
- opensuse-leap 16.0: cmus 2.11.0-bp160.1.7 ยท GPL-2.0-only
- opensuse-leap 16.0: cmus 2.11.0-bp160.1.7 ยท GPL-2.0-only
- opensuse-leap 16.0: cmus 2.11.0-bp160.1.7 ยท GPL-2.0-only
- ubuntu jammy: cmus 2.9.1-1
- ubuntu noble: cmus 2.10.0-4build3
- ubuntu questing: cmus 2.12.0-1
- ubuntu resolute: cmus 2.12.0-2build1 ยท GPL-2.0-or-later
- ubuntu stonking: cmus 2.12.0-3 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms