ytm-player

Install ytm-player on Linux

Pick your install method below. Each shows the exact commands and any prerequisites.

Install mpv (Linux)

sudo pacman -S mpv   # Arch / Manjaro / CachyOS
sudo apt install mpv     # Ubuntu / Debian
sudo dnf install mpv     # Fedora

Install ytm-player

pipx install ytm-player

Launch

ytm

Notes

  • pipx isolates ytm-player in its own venv and adds the `ytm` command to PATH.
  • Required on PEP 668 distros (Debian 12+, Ubuntu 23.04+, Fedora 38+, recent Arch) where system pip is locked.
  • Install pipx first: `sudo apt install pipx` (Debian) / `sudo pacman -S python-pipx` (Arch) / `sudo dnf install pipx` (Fedora).

Other platforms: macOSWindowsPyPIArch (AUR)NixOSGentoo (GURU)