# nowplaying-cli を Homebrew, Nix でインストール

nowplaying-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:nowplaying-cli
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/nowplaying-cli>
- **バージョン:** 2.1.0
- **ソース概要:** Retrieves currently playing media, and simulates media actions
- **ホームページ:** <https://github.com/kirtan-shah/nowplaying-cli>
- **リポジトリ:** <https://github.com/kirtan-shah/nowplaying-cli>
- **上流ドキュメント:** <https://github.com/kirtan-shah/nowplaying-cli#readme>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://github.com/kirtan-shah/nowplaying-cli/archive/refs/tags/v2.1.0.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- nowplaying-cli (cli)
- nowplaying-cli (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 2.1.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/kirtan-shah/nowplaying-cli
- 検出された最新: v2.1.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
