Contents

How to Play Music in Termux




Introduction

Why would you want to play audio files and music in termux terminal on your phone? Well if nothing else then because is fun…
There are more ways ( Programs for play music and audio files in termux ). In this article, we will look for one who calls play-audio.


First as good practice we need to run:

1
pkg update && pkg upgrade

commands to update and upgrade our repositories.

Install play-audio

After that just simple run:

1
pkg install play-audio

When play-audio is instaled navigate to the music directory.
You can do that by command:

pwd

stands for Print Working Directory, to see where you are.
And command:

cd

stands for Change Directory, to navigate through directories.
And you can use command:

ls

stands for List, which will list all files in a directory.

Play Audio Files

When you get to directory where is your music ( audio file ) run:

1
play-audio [ 'name of the file' ]

It is simple as that, now you can play music and audio files on your phone using termux terminal.

Watch Video Example

You can watch and video example: