mocp

Music on Console (MOC) audio player. More information: <https://manned.org/mocp>.

Install

All systems
curl cmd.cat/mocp.sh
Debian Debian
apt-get install moc
Ubuntu
apt-get install moc
Alpine
apk add moc
Arch Arch Linux
pacman -S moc
image/svg+xml Kali Linux
apt-get install moc
Windows (WSL2)
sudo apt-get update sudo apt-get install moc
OS X
brew install moc
Raspbian
apt-get install moc
Docker
docker run cmd.cat/mocp mocp powered by Commando

Music on Console (MOC) audio player. More information: <https://manned.org/mocp>.

  • Launch the MOC terminal UI:
    mocp
  • Launch the MOC terminal UI in a specific directory:
    mocp path/to/directory
  • Start the MOC server in the background, without launching the MOC terminal UI:
    mocp --server
  • Add a specific song to the play queue while MOC is in the background:
    mocp --enqueue path/to/audio_file
  • Add songs recursively to the play queue while MOC is in the background:
    mocp --append path/to/directory
  • Clear the play queue while MOC is in the background:
    mocp --clear
  • Play or stop the currently queued song while MOC is in the background:
    mocp --play|stop
  • Stop the MOC server while it's in the background:
    mocp --exit

© tl;dr; authors and contributors