Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      June 4, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      June 4, 2025

      How To Prevent WordPress SQL Injection Attacks

      June 4, 2025

      Smashing Animations Part 4: Optimising SVGs

      June 4, 2025

      I test AI tools for a living. Here are 3 image generators I actually use and how

      June 4, 2025

      The world’s smallest 65W USB-C charger is my latest travel essential

      June 4, 2025

      This Spotlight alternative for Mac is my secret weapon for AI-powered search

      June 4, 2025

      Tech prophet Mary Meeker just dropped a massive report on AI trends – here’s your TL;DR

      June 4, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Beyond AEM: How Adobe Sensei Powers the Full Enterprise Experience

      June 4, 2025
      Recent

      Beyond AEM: How Adobe Sensei Powers the Full Enterprise Experience

      June 4, 2025

      Simplify Negative Relation Queries with Laravel’s whereDoesntHaveRelation Methods

      June 4, 2025

      Cast Model Properties to a Uri Instance in 12.17

      June 4, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      My Favorite Obsidian Plugins and Their Hidden Settings

      June 4, 2025
      Recent

      My Favorite Obsidian Plugins and Their Hidden Settings

      June 4, 2025

      Rilasciata /e/OS 3.0: Nuova Vita per Android Senza Google, Più Privacy e Controllo per l’Utente

      June 4, 2025

      Rilasciata Oracle Linux 9.6: Scopri le Novità e i Miglioramenti nella Sicurezza e nelle Prestazioni

      June 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Linux»Kew: Listening to Music in the Linux Terminal

    Kew: Listening to Music in the Linux Terminal

    February 18, 2025

    Kew: Listening to Music in the Linux Terminal

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

    I’ve seen things… seen things that you people wouldn’t believe… Linux developed by governments, Linux on mobiles, 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.

    Subscribe to It’s FOSS YouTube Channel

    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, 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: Listening to Music in the Linux Terminal
    Kew music player running in the terminal

    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, Debian, Gentoo., etc.

    For Debian and Ubuntu-based distros, use:

    sudo apt install kew

    You can use an AUR helper for Arch-based distros. Let’s you use yay:

    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!!

    Kew: Listening to Music in the Linux Terminal

    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.

    Hostinger

    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.

    Views

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

    F2 : Current Playlist

    Kew: Listening to Music in the Linux Terminal

    F3 : Library view

    Kew: Listening to Music in the Linux Terminal

    F4 : Track View

    Kew: Listening to Music in the Linux Terminal
    Kew music player running in the terminal

    F5 : Search view

    Kew: Listening to Music in the Linux Terminal

    F6 : Help

    Kew: Listening to Music in the Linux Terminal
    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.

    Conclusion

    There are several terminal audio players like Cmus, MOC – Music on Console, Musikcube, 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.

    Author Info

    Kew: Listening to Music in the Linux Terminal

    Jose Antonio Tenés
    A Communication engineer by education, and Linux user by passion. In my spare time, I play chess, do you dare?

    Source: Read More

    Hostinger
    Facebook Twitter Reddit Email Copy Link
    Previous ArticleOpen Voice OS: Il Successore di Mycroft
    Next Article GSConnect – complete implementation of KDE Connect

    Related Posts

    Linux

    My Favorite Obsidian Plugins and Their Hidden Settings

    June 4, 2025
    Linux

    Rilasciata /e/OS 3.0: Nuova Vita per Android Senza Google, Più Privacy e Controllo per l’Utente

    June 4, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Pop PHP Framework – toolkit for rapid application development

    Linux

    5 habit trackers on Android that can reveal your patterns – and motivate you to change

    News & Updates

    Canva just dropped 6 exciting AI features in its biggest update in years

    News & Updates

    ESLint Perfectionist v3.0.0 plugin is out!

    Development
    Hostinger

    Highlights

    News & Updates

    The Minecraft Movie reviews are rolling in and it’s not looking good — “You will want to block your memory.”

    April 3, 2025

    Critics are slamming A Minecraft Movie, calling it uninspired and dull. Despite poor reviews, I…

    OpenAI adds support for Structured Outputs for JSON in its API

    August 7, 2024

    Machine Learning in Linux: Stability Matrix – Package Manager for Stable Diffusion

    March 19, 2025

    Commvault CVE-2025-34028 Added to CISA KEV After Active Exploitation Confirmed

    May 13, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.