# melody を Homebrew, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:melody
```

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

### macOS

- Homebrew (100%):

```sh
brew install melody
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#melody
```

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

- zypper (92%):

```sh
sudo zypper install playmymusic
```

  証拠: openSUSE Tumbleweed package metadata: playmymusic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:melody
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/melody>
- **バージョン:** 0.20.0
- **ソース概要:** Language that compiles to regular expressions
- **ホームページ:** <https://yoav-lavi.github.io/melody/book>
- **リポジトリ:** <https://github.com/yoav-lavi/melody>
- **上流ドキュメント:** <https://github.com/yoav-lavi/melody#readme>
- **ライセンス:** Apache-2.0 OR MIT
- **ソースアーカイブ:** <https://github.com/yoav-lavi/melody/archive/refs/tags/v0.20.0.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

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

## ビルド依存関係

- rust

## インストール挙動

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

## バージョンと鮮度

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

Melody is a small language that compiles to ECMAScript regular expressions. Its README says the goal is to make regular expressions more readable and maintainable, with a CLI, compiler crate, WebAssembly bindings, playground, book, editor extensions, and package integrations.

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

The project is organized as a Rust workspace with crates for the compiler, CLI, and WASM bindings. The README shows Melody source examples compiling into ordinary regular expressions, along with syntax for quantifiers, symbols, literals, groups, assertions, variables, comments, and file extensions .mdy and .melody.

Melody evolved rapidly during 2022, as reflected in the changelog: early releases added the REPL, raw sequences, lookahead/lookbehind assertions, cleaner CLI output, a Pest grammar and AST, lazy quantifiers, negative symbols, variables, shell completions, Deno support, stdin support, CLI testing, file-based testing, and unicode-category support.

The project reached v0.20.0 in November 2024, when the changelog notes an MSRV bump to Rust 1.74.0 and removal of the unmaintained atty dependency.

### 採用の歴史

Melody is a niche developer tool rather than a large infrastructure package, but it has visible interest for a DSL project: the GitHub repository shows thousands of stars, a crates.io-published CLI/compiler path, a browser playground, documentation book, Homebrew installation, Nix packaging, and community-maintained Arch packaging.

Its adoption is tied to developers who want regex readability without abandoning regular expressions as the runtime artifact. That gives package managers a compact CLI and compiler tool whose output remains portable JavaScript-compatible regex.

### 使われ方

Users can install melody_cli with cargo, install from source, download macOS binaries from GitHub releases, or use Homebrew. The CLI reads a file or stdin, writes compiled regex to stdout or an output file, can test against strings or files, generates shell completions, and offers a REPL.

The book and README document syntax that maps readable constructs such as some of <word>, <start>, capture blocks, and either blocks to regular-expression primitives.

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

Melody is significant as a packaged regex DSL: it is not a runtime service, but a compiler that turns readable source into a ubiquitous target. That makes it easy to package and easy to evaluate, while still touching language tooling, WASM, editor extensions, and JavaScript ecosystem integrations.

### タイムライン

- 2022-02: Early releases added REPL, assertions, AST parsing, and CLI behavior changes.
- 2022-04: v0.14.0 through v0.18.0 added stdin, shell completions, Deno support, CLI testing, file testing, and unicode categories.
- 2023-07-16: v0.19.0 set the MSRV to Rust 1.65.0 and improved WASM/Deno behavior.
- 2024-11-24: v0.20.0 set the MSRV to Rust 1.74.0 and removed atty.

### Related projects

- melody_compiler: the compiler crate.
- melody_cli: the command-line wrapper around the compiler.
- melody_wasm: the WebAssembly bindings.
- ECMAScript regular expressions: the target regex dialect.

### ソース

- <https://github.com/yoav-lavi/melody>
- <https://github.com/yoav-lavi/melody/releases>
- <https://raw.githubusercontent.com/yoav-lavi/melody/main/CHANGELOG.md>
- <https://yoav-lavi.github.io/melody/book/>
- source_facts.package-manager-url


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

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

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

- Nix - melody: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/melody/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - playmymusic - 2.2.1-1.6: normalized package name match | openSUSE Tumbleweed package metadata: playmymusic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A music player for local files and remote streams | https://github.com/artemanufrij/playmymusic


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/ja/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [pomsky](https://www.automicvault.com/ja/pkg/brew/pomsky/) - Shares av.db curated category or tags: cli, compiler, developer-tools, language, regex.
- [grex](https://www.automicvault.com/ja/pkg/brew/grex/) - Shares av.db curated category or tags: cli, developer-tools, regex, regular-expressions, rust.
- [rgxg](https://www.automicvault.com/ja/pkg/brew/rgxg/) - Shares av.db curated category or tags: cli, developer-tools, regex, regular-expressions.
- [grok](https://www.automicvault.com/ja/pkg/brew/grok/) - Shares av.db curated category or tags: cli, developer-tools, regular-expressions.
- [onigmo](https://www.automicvault.com/ja/pkg/brew/onigmo/) - Shares av.db curated category or tags: cli, developer-tools, regular-expressions.
- [oniguruma](https://www.automicvault.com/ja/pkg/brew/oniguruma/) - Shares av.db curated category or tags: cli, developer-tools, regular-expressions.
- [starlark-rust](https://www.automicvault.com/ja/pkg/brew/starlark-rust/) - Shares av.db curated category or tags: cli, developer-tools, programming-language, rust.
- [tre](https://www.automicvault.com/ja/pkg/brew/tre/) - Shares av.db curated category or tags: cli, developer-tools, regex, regular-expressions.

## Combined YAML source

View the package source record on GitHub. [combined/melody.yml](https://github.com/automic-vault/db/blob/main/combined/melody.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
