# Install nowplaying-cli with Homebrew, Nix

Retrieves currently playing media, and simulates media actions. Version 2.1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:nowplaying-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nowplaying-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nowplaying-cli
```

  Evidence: nixpkgs package indexes: pkgs/by-name/no/nowplaying-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:nowplaying-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/nowplaying-cli>
- **Version:** 2.1.0
- **Source summary:** Retrieves currently playing media, and simulates media actions
- **Homepage:** <https://github.com/kirtan-shah/nowplaying-cli>
- **Repository:** <https://github.com/kirtan-shah/nowplaying-cli>
- **Upstream docs:** <https://github.com/kirtan-shah/nowplaying-cli#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/kirtan-shah/nowplaying-cli/archive/refs/tags/v2.1.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- nowplaying-cli (cli)
- nowplaying-cli (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.1.0
- Local data: ok
- Upstream repository: https://github.com/kirtan-shah/nowplaying-cli
- Upstream latest detected: v2.1.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

nowplaying-cli is a macOS command-line utility for reading the system's active media metadata and sending media actions such as play, pause, next, previous, togglePlayPause, and seek. The GitHub repository was created on 2023-02-02 and the first GitHub release, v1.0.0, was published on 2023-02-03.

The project is intentionally macOS-specific and depends on private media frameworks. Its README warns that private-framework use may break with future macOS updates, and lists tested macOS versions from Ventura 13.x through Tahoe 26.3.

### Project history

The 1.x series shipped quickly in 2023, with releases v1.0.0 on 2023-02-03, v1.1.0 on 2023-02-08, v1.2.0 on 2023-04-18, and v1.2.1 on 2023-06-30. Releases v2.0.0 and v2.1.0 followed on 2026-04-05 and 2026-04-06.

The README credits ungive's mediaremote-adapter for restoring support on macOS 15 and 26, with derived files under src/mediaremote-mini licensed BSD-3-Clause. That note explains why a small CLI had a 2026 maintenance bump: macOS private media APIs are a moving target.

### Adoption history

For a narrow macOS utility, Homebrew adoption is notable. The formula API reported 2,614 install-on-request events in its 365-day analytics window, and the GitHub repository had 284 stars and 21 forks when queried on 2026-07-01.

The tool's adoption is practical rather than ecosystem-forming. It fits shell scripts, status bars, menu bar widgets, terminal prompts, automation shortcuts, and Stream Deck-style workflows that need a simple command to read or control the active media session.

### How it is used

Common commands are nowplaying-cli get title artist album, nowplaying-cli get-raw for all non-nil media properties, and action commands such as play, pause, togglePlayPause, next, previous, and seek. The README maps friendly property names to MediaRemote constants such as title, artist, album, duration, elapsedTime, artworkData, playbackRate, shuffleMode, and repeatMode.

Package nerds should notice the maintenance risk: this is a convenient CLI over Apple's private MediaRemote behavior, not a stable public macOS API. Homebrew is the easiest install path, while source builds use make and make install to place the binary, helper script, and dylib together.

### Why package nerds care

nowplaying-cli is a classic tiny macOS utility: high usefulness, small surface area, and fragile internals because it wraps private platform behavior. Its Homebrew usage suggests a real demand for scriptable now-playing metadata that Apple does not expose cleanly as a standard CLI.

### Timeline

- 2023-02-02: GitHub repository created.
- 2023-02-03: v1.0.0 released.
- 2023-06-30: v1.2.1 released.
- 2026-04-05: v2.0.0 released.
- 2026-04-06: v2.1.0 released.

### Related projects

- MediaRemote
- mediaremote-adapter
- Homebrew

### Sources

- <https://api.github.com/repos/kirtan-shah/nowplaying-cli>
- <https://api.github.com/repos/kirtan-shah/nowplaying-cli/releases?per_page=8>
- <https://formulae.brew.sh/api/formula/nowplaying-cli.json>
- <https://github.com/kirtan-shah/nowplaying-cli>
- <https://raw.githubusercontent.com/kirtan-shah/nowplaying-cli/main/README.md>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nowplaying-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - nowplaying-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/no/nowplaying-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [shpotify](https://www.automicvault.com/pkg/brew/shpotify/) - Shares av.db curated category or tags: cli, macos, media, music.
- [chordii](https://www.automicvault.com/pkg/brew/chordii/) - Shares av.db curated category or tags: cli, media, music.
- [dzr](https://www.automicvault.com/pkg/brew/dzr/) - Shares av.db curated category or tags: cli, media, music.
- [mufetch](https://www.automicvault.com/pkg/brew/mufetch/) - Shares av.db curated category or tags: cli, media, music.
- [ncspot](https://www.automicvault.com/pkg/brew/ncspot/) - Shares av.db curated category or tags: cli, media, music.
- [pms](https://www.automicvault.com/pkg/brew/pms/) - Shares av.db curated category or tags: cli, media, music.
- [abcmidi](https://www.automicvault.com/pkg/brew/abcmidi/) - Shares av.db curated category or tags: cli, media, music.
- [ccm](https://www.automicvault.com/pkg/brew/ccm/) - Shares av.db curated category or tags: cli, media, music.

## Combined YAML source

View the package source record on GitHub. [combined/nowplaying-cli.yml](https://github.com/automic-vault/db/blob/main/combined/nowplaying-cli.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
