> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Kew
- URL: https://itsfoss.com/kew-terminal-player/
- Published: 2025-02-18T10:28:10.000Z
- Updated: 2025-04-24T04:59:33.000Z
- Description: Using the terminal to listen to music.
- Author: Community
- Tags: Terminal Tools, Multimedia

A new (or perhaps old) way of enjoying music for the command-line enthusiasts.

[I've seen things](https://www.youtube.com/watch?v=NoAzpa1x7jU&pp=ygUOdGVhciBtb25vbG9ndWU%3D&ref=itsfoss.com)... seen things that you people wouldn't believe... [Linux developed by governments](https://archiveos.org/tens/?ref=itsfoss.com), [Linux on mobiles](https://github.com/dreemurrs-embedded/Pine64-Arch/releases?ref=itsfoss.com), and terminal audio players. 

Yes, it could be funny, but it's real, you could play music from your command-line.

And that's just one of the many [unusual things you can do in the terminal](https://www.youtube.com/watch?v=0Er8D7RR5l8&ref=itsfoss.com).

[Subscribe to It's FOSS YouTube Channel](https://www.youtube.com/@itsfoss?ref=itsfoss.com)

## Meet Kew

When you use the terminal more often than the graphical tools, you would perhaps enjoy playing music from the terminal.

I came across [Kew](https://github.com/ravachol/kew?ref=itsfoss.com), a terminal music player fully written in C. It's small (not more than 1 MiB), with a low memory profile. You can create and play your own playlists!

![Kew terminal music player for Linux and BSD](https://itsfoss.com/content/images/2025/02/kew07.png)

Kew music player running in the terminal

📦 [GitHub Repository](https://github.com/ravachol/kew?ref=itsfoss.com)  
©️ [Open Source GPL 2.0 License](https://github.com/ravachol/kew?tab=GPL-2.0-1-ov-file&ref=itsfoss.com)  
💰 [Sponsor](https://github.com/sponsors/ravachol?ref=itsfoss.com)

## First things go first: Installation

It's straightforward to install Kew because it's available in the repositories of the common Linux Distributions like [Arch Linux](https://archlinux.org/?ref=itsfoss.com), [Debian](https://www.debian.org/?ref=itsfoss.com), [Gentoo](https://www.gentoo.org/?ref=itsfoss.com)., etc.

For Debian and Ubuntu-based distros, use:

```
sudo apt install kew
```

You can use an [AUR helper](https://itsfoss.com/aur-arch-linux/) for Arch-based distros. Let's you [use yay](https://itsfoss.com/install-yay-arch-linux/):

```
sudo yay -S kew
```

For openSUSE, use zypper:

```
sudo zypper install kew 
```

## Exploring music with Kew

One of the most interesting and surprising things it's that kew can search in your music directory (usually \~/Music, or you could change it) only with one word:

```
kew bruce
```

And you're immediately listening to the Boss!!

![Listening the Boss](https://itsfoss.com/content/images/2025/02/kew04.png)

  
You can see the album cover while you're listening to it.

You can make a playlist based on the content of a directory (and the others inside it recursively). The playlist can be edited/modified inside Kew in the Playlist view. 

You can play the songs from the playlist using:

```
kew kew.m3u
```

## Direct Functions

Kew provides some direct functions that you can type with kew:

- <none>: You go straight to the music library.
- dir <album name>: Play a full directory.
- song <song name>: Play only a song.
- list <playlist name>: Play a playlist that you could define.
- shuffle <album name>|<playlist name>: shuffles the album or playlist
- artistA:artistB:artistC: shuffles all 3 artists.  
Just to mention some of their fantastic functions. You could get all the commands [here](https://github.com/ravachol/kew?ref=itsfoss.com#some-examples).

### Views

There are different views for different functions that can be accessed via a function key.

F2 : Current Playlist

![Playlist in Kew terminal music player](https://itsfoss.com/content/images/2025/02/kew05.png)

F3 : Library view

![Accessing music library](https://itsfoss.com/content/images/2025/02/kew06.png)

F4 : Track View

![Kew terminal music player for Linux and BSD](https://itsfoss.com/content/images/2025/02/kew07.png)

Kew music player running in the terminal

F5 : Search view

![Searching music library](https://itsfoss.com/content/images/2025/02/kew08.png)

F6 : Help

![Kew default keyboard shortcuts](https://itsfoss.com/content/images/2025/02/kew09.png)

Press F6 to get the keyboard shortcuts info

### Key bindings

If you decided to use Kew regularly, it would be much better to use and remember various keyboard shortcuts. You can surely configure your own.

Press F6 and it will show the key bindings:

- \+ (or =), keys to adjust the volume.
- ←, → or h, l keys to switch tracks.
- space, p to toggle pause.
- F2 or Shift + z to show/hide the playlist.
- F3 or Shift + x to show/hide the library.
- F4 or Shift + c to show/hide the track view.
- F5 or Shift + v to search.
- F6 or Shift + b to show/hide key bindings.
- u to update the library.
- v to toggle the spectrum visualizer.
- i to switch between using your regular color scheme or colors derived from the track cover.
- b to toggle album covers drawn in ascii or as a normal image.
- r to repeat the current song.
- s to shuffle the playlist.
- a to seek back.
- d to seek forward.
- x to save the currently loaded playlist to a m3u file in your music folder.
- Tab to switch between views.
- gg go to first song.
- number + G, g or Enter, go to specific song number in the playlist.
- g go to last song.
- . to add current song to kew.m3u (run with "kew .").
- Esc to quit.

## Reviews on the web

What others are saying about Kew:

- [Review of Kew: A Console Music Player for Linux](https://pq.hosting/en/help/review-of-kew-a-console-music-player-for-linux?ref=itsfoss.com) on pq.hosting
- [Kew: Listening to Music in the Linux Terminal](https://api.daily.dev/r/K7tkHwKCl?ref=itsfoss.com) on daily.dev
- [Just found Kew terminal music player for linux](https://www.linkedin.com/posts/reso-factor%5Fjust-found-kew-terminal-music-player-for-activity-7312462279986343937-phW8?ref=itsfoss.com) on LinkedIn.com

## Conclusion

There are several terminal audio players like [Cmus](https://cmus.github.io/?ref=itsfoss.com), [MOC - Music on Console](https://moc.daper.net/about?ref=itsfoss.com), [Musikcube](https://musikcube.com/?ref=itsfoss.com), etc. Kew can be placed in this list of terminal tools.

Written in C, with a small memory blueprint, Kew is worth trying for a terminal dweller.

If you give it a try, do share its experience in the comments.

![CTA Image](https://itsfoss.com/content/images/2025/04/jose.webp) 

Jose Antonio Tenés is a Communication engineer by education, and Linux user by passion. In his spare time, he plays chess, do you dare?