Listen YouTube in CLI / Terminal

# Install mps-youtube.
sudo pip install mps-youtube
# Install mpv (
brew install mpv
# Put this line in your ".zshrc" or ".bashrc".
alias youtube="mpsyt"
# On the first run set mpv as default player.
set player mpv

Example of search for “mozart” keyword:


Now you can listen to YouTube from terminal and you will consume less bandwidth as well.