# mdcat を Homebrew, MacPorts, Nix, scoop でインストール

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

## インストール

```sh
sudo av install brew:mdcat
```

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

### macOS

- Homebrew (100%):

```sh
brew install mdcat
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mdcat
```

  証拠: MacPorts ports tree: textproc/mdcat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mdcat
```

  証拠: nixpkgs package indexes: mdcat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Scoop (92%):

```sh
scoop install main/mdcat
```

  証拠: Scoop official bucket manifest trees: bucket/mdcat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:mdcat
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mdcat>
- **バージョン:** 2.15.0
- **ソース概要:** Show markdown documents on text terminals
- **ホームページ:** <https://github.com/BIRSAx2/mdcat>
- **リポジトリ:** <https://github.com/BIRSAx2/mdcat>
- **ライセンス:** MPL-2.0
- **ソースアーカイブ:** <https://github.com/BIRSAx2/mdcat/archive/refs/tags/mdcat-2.15.0.tar.gz>
- **最終更新:** 2026-08-03T19:17:46Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- asciidoctor
- pkgconf
- rust

## macOS 提供ライブラリ

- curl

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.15.0
- マネージャ更新日: 2026-08-03
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/BIRSAx2/mdcat
- 検出された最新: mdcat-2.15.0 (最新)
## プロジェクトの歴史と使われ方

mdcat is a Rust command-line renderer for Markdown/CommonMark documents in text terminals. It sits in the same user niche as cat, less, glow, and mdless, but emphasizes modern terminal features such as OSC 8 links, syntax highlighting, inline image protocols, math rendering, and terminal-specific navigation marks.

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

The mdcat crate was first published on crates.io in January 2018. Its current README credits Sebastian Wiesner and Mouhieddine Sabir in the copyright notice and says the project is now maintained by BIRSAx2.

The upstream changelog shows an active 2.x line through 2024 and 2026: version 2.4.0 added limited table support in September 2024, version 2.7.0 moved remote resource handling to curl in November 2024, version 2.8.0 transferred maintenance to BIRSAx2 in June 2026, and version 2.9.0 added footnote and math rendering shortly afterward.

### 採用の歴史

mdcat moved from a Rust crate into mainstream package-manager culture. The input facts list packages in Homebrew, MacPorts, Nix, and Scoop, while the Homebrew formula reported stable version 2.9.1 and installation analytics in 2026.

Crates.io reported about 190,000 total downloads and a 2026 newest version of 2.9.1, which makes mdcat one of the better-known Rust terminal Markdown viewers rather than a one-off sample program.

### 使われ方

Typical use is direct terminal viewing, for example `mdcat README.md`, with optional use as `mdless` when installed or linked that way for paging. Packagers are expected to consider shell completions and a man page built from `mdcat.1.adoc`.

The README documents best results in terminals with modern graphics and link protocols, including iTerm2, kitty, WezTerm, Ghostty, foot, and Sixel-capable xterm setups. It also documents a troubleshooting path through the `MDCAT_LOG` environment variable rather than a persistent configuration file.

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

mdcat is interesting to package maintainers because it is a terminal UI tool whose quality depends on optional terminal capabilities and native libraries, especially libcurl and image-rendering support. That gives formulas and distro packages more surface area than a plain text filter.

It is also a useful marker for the Rust CLI wave: a small binary distributed through Cargo, Homebrew, Nix-style systems, and other package managers, with release artifacts and generated shell completions as package extras.

### タイムライン

- 2018: mdcat crate first published on crates.io.
- 2024: The 2.x series added table support, shell completion generation, Ghostty image support, and curl-backed remote resources.
- 2026: Version 2.8.0 moved maintenance to BIRSAx2.
- 2026: Version 2.9.0 added footnote and math rendering.

### Related projects

- The README positions mdcat near terminal pagers and Markdown viewers, and documents `mdless` compatibility by allowing the binary to be linked or copied as `mdless` for automatic pagination.
- Its implementation relies on terminal ecosystem pieces such as syntect for code highlighting, resvg for SVG rendering, OSC 8 hyperlinks, and iTerm2, kitty, WezTerm, and Sixel graphics protocols.

### ソース

- <https://crates.io/crates/mdcat>
- <https://formulae.brew.sh/formula/mdcat>
- <https://github.com/BIRSAx2/mdcat#readme>
- <https://github.com/BIRSAx2/mdcat/blob/main/CHANGELOG.md>
- source_facts.package-manager


## セキュリティノート

mdcat に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


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

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

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

- Nix - mdcat: normalized package name match | nixpkgs package indexes: mdcat from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- MacPorts - mdcat: normalized package name match | MacPorts ports tree: textproc/mdcat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/mdcat: normalized package name match | Scoop official bucket manifest trees: bucket/mdcat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [asciidoctor](https://pkg.so/ja/brew/asciidoctor/) - Build dependency declared by Homebrew.
- [mdfried](https://pkg.so/ja/brew/mdfried/) - Shares pkgdb curated category or tags: cli, markdown, productivity, rust, terminal.
- [md-tui](https://pkg.so/ja/brew/md-tui/) - Shares pkgdb curated category or tags: cli, markdown, productivity, rust, terminal.
- [mdless](https://pkg.so/ja/brew/mdless/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [treemd](https://pkg.so/ja/brew/treemd/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal, viewer.
- [ekphos](https://pkg.so/ja/brew/ekphos/) - Shares pkgdb curated category or tags: cli, markdown, productivity, rust, terminal.
- [yazi](https://pkg.so/ja/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity, rust, terminal.
- [presenterm](https://pkg.so/ja/brew/presenterm/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal.
- [slides](https://pkg.so/ja/brew/slides/) - Shares pkgdb curated category or tags: cli, markdown, productivity, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/mdcat.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mdcat.yml)


## ソース

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
