# mdfried を Homebrew, MacPorts, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:mdfried
```

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

### macOS

- Homebrew (100%):

```sh
brew install mdfried
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mdfried
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mdfried
```

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

- pacman (92%):

```sh
sudo pacman -S mdfried
```

  証拠: Arch Linux sync databases: mdfried from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:mdfried
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mdfried>
- **バージョン:** 0.22.4
- **ソース概要:** Terminal markdown viewer
- **ホームページ:** <https://github.com/benjajaja/mdfried>
- **リポジトリ:** <https://github.com/benjajaja/mdfried>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://github.com/benjajaja/mdfried/archive/refs/tags/v0.22.4.tar.gz>
- **最終更新:** 2026-06-21T18:47:21Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- chafa
- gettext
- glib

## ビルド依存関係

- pkgconf
- rust

## インストール挙動

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

## バージョンと鮮度

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

mdfried is a Rust terminal Markdown viewer and pager focused on rich terminal graphics. Its distinctive feature is rendering Markdown headings as genuinely larger text or images when the terminal supports a graphics or text-sizing protocol.

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

The GitHub repository was created in December 2024, and the crates.io package was first published later that month. The project iterated rapidly through 2025 and 2026, reaching the 0.22 series by June 2026.

The changelog shows the tool expanding from a visual Markdown viewer into a featureful terminal document browser: tree-sitter Markdown parsing, link navigation, URL and GitHub README opening, syntax highlighting, Mermaid rendering, image opening, OSC 8 clickable links, and experimental PDF support all appear in the documented 2026 releases.

### 採用の歴史

mdfried is newer than mdcat and mdless but already has package-manager presence. The input facts list Homebrew, MacPorts, Nix, and pacman-family packaging, while the README advertises Cargo installation, a Nix flake, release binaries, `.deb` files, and Mac and Windows binaries.

Crates.io reported the crate's creation in December 2024 and about 15,000 total downloads by 2026. Homebrew's formula tracked stable version 0.22.4 with install analytics, evidence of early but real CLI-tool adoption.

### 使われ方

The basic invocation is `mdfried ./path/to.md`. It can also open URLs that serve Markdown and `github:owner/repo` targets when a README exists on the default branch.

On first run, users may choose a font if automatic detection is not enough; the selection is written to `~/.config/mdfried/config.toml`. `--setup` repeats font setup and `--print-config` prints a fuller configuration example.

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

mdfried is notable because it pushes terminal Markdown viewing into the modern graphics-terminal era. Packaging it involves more than installing a text filter: the formula includes chafa and GTK/glib-related dependencies through Homebrew, and runtime behavior varies by terminal image protocol.

For package nerds, it is also a fast-moving Rust package that crosses Cargo, Nix, Homebrew, binary releases, and Debian-style artifacts while still pre-1.0.

### タイムライン

- 2024: GitHub repository and crates.io package appeared in December.
- 2026: Version 0.18.0 used tree-sitter/tree-sitter-md for Markdown parsing.
- 2026: Version 0.20.1 added URL and GitHub README opening.
- 2026: Version 0.21.0 added code syntax highlighting and Mermaid rendering.
- 2026: Version 0.22.0 added OSC 8 clickable links.

### Related projects

- mdfried overlaps with mdcat and mdless as a terminal Markdown viewer, but it emphasizes large rendered headings, rich image support, pager navigation, and terminal graphics protocols.
- Its README references ratatui-image, chafa, arborium, mermaid rendering, Sixel, kitty, and iTerm2 protocols as important parts of its ecosystem.

### ソース

- <https://crates.io/crates/mdfried>
- <https://formulae.brew.sh/formula/mdfried>
- <https://github.com/benjajaja/mdfried#readme>
- <https://github.com/benjajaja/mdfried/blob/master/assets/docs/CHANGELOG.md>
- source_facts.package-manager


## セキュリティノート

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/mdfried/config.toml
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mdfried
- **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 - mdfried: normalized package name match | nixpkgs package indexes: pkgs/by-name/md/mdfried/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - mdfried - 0.22.4-1: normalized package name match | Arch Linux sync databases: mdfried from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A markdown viewer for the terminal that renders images and big headers | https://github.com/benjajaja/mdfried
- MacPorts - mdfried: normalized package name match | MacPorts ports tree: textproc/mdfried/Portfile from https://api.github.com/repos/macports/macports-ports/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.
- [glib](https://pkg.so/ja/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Runtime dependency declared by Homebrew.
- [chafa](https://pkg.so/ja/brew/chafa/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [mdless](https://pkg.so/ja/brew/mdless/) - Shares pkgdb curated category or tags: cli, markdown, markdown-viewers, productivity, terminal.
- [mdcat](https://pkg.so/ja/brew/mdcat/) - 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.
- [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/mdfried.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mdfried.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
