CMUS is a simple command-line music player that you can use in Termux to play and manage your local music. You can browse music folders, add songs to the library, play or pause tracks, switch between songs, seek forward or backward, and enable shuffle mode with easy keyboard controls. It gives you an easy way to control your music without leaving the terminal.
Here’s what you can do with CMUS in Termux:
- Play music from the terminal.
- Browse your music library.
- Open folders and find songs.
- Pause and resume playback.
- Skip to previous or next songs.
- Seek forward and backward.
- Use shuffle mode.
- Control music using keyboard shortcuts.
Install CMUS in Termux
Below are the simple commands to install CMUS in Termux. Copy and run each command one by one.
Update Termux packages.
pkg update && pkg upgrade -yInstall CMUS.
pkg install cmus -yAllow Termux to access your Android Internal storage.
termux-setup-storageAfter running the command, allow the storage permission when Android asks for it.
Go to your music folder.
cd /sdcard/MusicStart CMUS.
cmusCMUS is now ready to use.
Use CMUS in Termux
After opening CMUS, you can use the keyboard to browse your music files and control playback.
Switch to Library view.
1
Switch to File Browser view.
5
Move the selection down.
j
Move the selection up.
k
Play the selected song or open a folder.
Press Enter
Add the selected folder to the library while using File Browser view.
a
Pause or resume playback.
c
Play the previous song.
z
Play the next song.
b
Seek backward by 5 seconds.
Left
Seek forward by 5 seconds.
Right
Turn random shuffle mode on or off.
s
Exit CMUS.
:q
Essential Controls
1– Switch to Library view5– Switch to File Browser viewj/k– Move the selection down or upEnter– Play the selected song or open a foldera– Add the selected folder to the libraryc– Pause or resume playbackz/b– Play the previous or next songLeft/Right– Seek backward or forward by 5 secondss– Toggle random shuffle mode:q– Exit CMUS
You can use these commands and keyboard shortcuts to browse your music, add folders to the library, play songs, and control playback.
End Note
CMUS provides a simple way to listen to local music from the Termux terminal. You can quickly browse your music, select songs, control playback, and use shuffle mode with a few keyboard shortcuts.

