Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Command-Line Apps
  3. itunes-remote

itunes-remote

MITJavaScript2.3.0

Control iTunes playback and library from your terminal using a Node.js CLI.

GitHubGitHub
435 stars29 forks0 contributors

What is itunes-remote?

itunes-remote is a Node.js command-line tool that lets you control iTunes playback and library management from your terminal. It uses Apple's JavaScript for Automation (JXA) to interact with iTunes, enabling features like play, pause, search, and more without a graphical interface. The tool solves the need for quick, scriptable control over iTunes directly from the command line.

Target Audience

Mac users and developers who frequently use the terminal and want to control iTunes without switching to the GUI. It's ideal for those who prefer keyboard shortcuts, automation scripts, or a streamlined workflow.

Value Proposition

Developers choose itunes-remote for its simplicity, interactive prompt, and scriptability, offering a native macOS integration that other CLI music tools lack. Its use of JXA ensures reliable and direct control over iTunes, making it a lightweight alternative to GUI-based controls.

Overview

:notes: Control iTunes via CLI

Use Cases

Best For

  • Controlling iTunes playback while working in the terminal
  • Automating music playback via shell scripts
  • Quickly searching and playing music without leaving the command line
  • Managing iTunes with keyboard shortcuts in a developer workflow
  • Integrating music control into custom CLI tools or workflows
  • Accessing iTunes features programmatically on macOS

Not Ideal For

  • Windows or Linux users needing terminal music control
  • Developers using Apple Music or other streaming services instead of iTunes
  • Projects requiring cross-platform music automation scripts
  • Environments where installing Node.js is not feasible or desirable

Pros & Cons

Pros

Native macOS Integration

Uses Apple's JXA via osascript for reliable and direct control over iTunes, ensuring lightweight and efficient interaction without external APIs, as highlighted in the README's reliance on native automation.

Interactive CLI Experience

Offers a dedicated prompt with autocomplete and help commands, making it user-friendly for terminal-based control, as demonstrated in the demo GIF and command listings.

Fuzzy Search Navigation

Enables quick searching across albums, artists, and songs with fuzzy matching, streamlining library access directly from the command line, a key feature mentioned in the README.

Scriptable Automation

Supports passing commands externally for use in shell scripts, allowing seamless integration into automated workflows, as shown in the usage example with 'itunes stop --exit'.

Cons

Platform and Application Lock-in

Only works on macOS with iTunes installed, excluding users on other operating systems or those who have transitioned to Apple's newer Music app, limiting its audience.

Dependency on Deprecated Software

With Apple phasing out iTunes in favor of the Music app, the tool's long-term viability is questionable and may require updates or become obsolete as macOS evolves.

Limited Feature Set

Confined to basic iTunes controls like playback and search; lacks advanced features such as volume adjustment or playlist management, which might be needed for comprehensive music control.

Frequently Asked Questions

Quick Stats

Stars435
Forks29
Contributors0
Open Issues8
Last commit6 years ago
CreatedSince 2015

Tags

#audio-control#terminal#itunes#nodejs#cli#automation#macos#music-player

Built With

V
Vorpal
N
Node.js

Included in

Command-Line Apps19.2k
Auto-fetched 1 day ago

Related Projects

cmuscmus

Small, fast and powerful console music player for Unix-like operating systems.

Stars6,133
Forks513
Last commit4 months ago
musikcubemusikcube

a cross-platform, terminal-based music player, audio engine, metadata indexer, and server in c++

Stars4,767
Forks318
Last commit1 month ago
mpdmpd

Music Player Daemon

Stars2,688
Forks410
Last commit2 days ago
ncmpcppncmpcpp

Featureful ncurses based MPD client inspired by ncmpc

Stars2,427
Forks230
Last commit2 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub