Automic VaultAutomic Vault

brew

xmq を Homebrew でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install xmq

local Homebrew formula metadata

概要

パッケージ概要

Tool and language to work with xml/html/json

履歴

プロジェクトの歴史と使われ方

XMQ is both a command-line tool and a compact markup syntax for working with XML, HTML, JSON, and related transforms. Its niche is making tree-shaped markup readable, editable, pretty-printable, and pipe-friendly without giving up round-tripping back to XML/HTML or JSON.

プロジェクトの歴史

The GitHub repository was created in 2019 and describes XMQ as a converter between XML/HTML and a more human-readable XMQ/HTMQ form, with JSON support, syntax highlighting, pretty printing, a pager, HTML and TeX rendering, and Invisible XML grammar support.

The project documentation and 2025 PDF by Fredrik Ohrstrom frame the design as a response to XML's editing pain: closing tags, significant whitespace, comments, attributes, entities, and transforms are represented in a syntax intended to remain visibly structured and always pretty-printable.

採用の歴史

XMQ is a modern niche tool rather than a broad standard. Its public adoption signal is mostly package-manager availability, GitHub activity, and command-line discussion among users who want XML/HTML/JSON inspection to feel more like jq-era terminal work.

The tool's practical appeal grew as it added more than one format conversion. The homepage examples show pretty-printing XML, HTML, and JSON; using an internal pager; deleting nodes with XPath; converting between xmq/xml/htmq/html/json; applying XSLT/XSLQ-style transforms; rendering to HTML or TeX; and parsing arbitrary input with ixml grammars.

使われ方

Typical xmq usage starts as a pretty-printer: run xmq pom.xml, xmq data.json, cat rss.xml | xmq, or pipe a web page through deletion and pager commands to inspect the structure. The same executable can convert back out with commands such as to-xml, to-html, and to-json.

Its more package-nerd use is as a bridge between tree formats and Unix text workflows. XMQ's compact form and clines-style output make it easier to grep, diff, store, or log structured markup while still keeping enough structure to reconstruct the original document.

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

XMQ is interesting because it treats XML not as obsolete, but as a powerful tree model with bad ergonomics. The package gives terminal users a reversible shorthand plus tools around XPath, transforms, paging, and rendering.

It also sits near a family of command-line format shims such as jq, yq, xq, xmlstarlet, and pup, but takes a different route: instead of only querying a source format, it introduces an alternate readable surface syntax for markup.

タイムライン

  • 2019-09-02: The libxmq/xmq GitHub repository is created.
  • 2020s: The tool expands around XML, HTML, JSON, syntax highlighting, paging, conversion, XSLT/XSLQ transforms, and ixml parsing.
  • 2025-08-04: The XMQ/HTMQ PDF presents the rationale and compact specification for the syntax.
  • 2026: The project is packaged in Homebrew and documented at libxmq.org as a standalone xmq tool plus embeddable C source.

Related projects

  • jq is the obvious JSON-side comparison for command-line structured-data inspection.
  • xmlstarlet and xq are adjacent XML command-line tools, though they query or transform existing formats rather than introducing XMQ as a reversible syntax.
  • Invisible XML is supported by xmq for parsing non-XML input through grammars.
  • libxml2 and libxslt are related XML infrastructure used throughout the broader XML tooling ecosystem.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
xmqcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版4.2.0
マネージャ更新日2026-05-24
ローカルデータOK
上流最新
検出された最新4.2.0

https://github.com/libxmq/xmq

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:xmq
バージョン4.2.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/xmq
ホームページhttps://libxmq.org
リポジトリhttps://github.com/libxmq/xmq
上流ドキュメントhttps://libxmq.org/
ライセンスMIT
ソースアーカイブhttps://github.com/libxmq/xmq/archive/refs/tags/4.2.0.tar.gz
最終更新2026-05-24T18:54:31Z
Pulseupdated
ビルド依存関係pkgconf
macOS 提供ライブラリlibxml2, libxslt
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexmq
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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