macOS
brew install mdcatlocal Homebrew formula metadata
sudo port install mdcatMacPorts ports tree · textproc/mdcat/Portfile · 来源: api.github.com
安装
brew install mdcatlocal Homebrew formula metadata
sudo port install mdcatMacPorts ports tree · textproc/mdcat/Portfile · 来源: api.github.com
nix profile install nixpkgs#mdcatnixpkgs package indexes · mdcat · 来源: raw.githubusercontent.com
scoop install main/mdcatScoop official bucket manifest trees · bucket/mdcat.json · 来源: api.github.com
概览
Show markdown documents on text terminals
历史
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.
安全态势
没有找到 mdcat 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mdcat | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mdcat |
|---|---|
| 版本 | 2.14.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/BIRSAx2/mdcat |
| 仓库 | https://github.com/BIRSAx2/mdcat |
| 最后更新 | 2026-07-27T13:02:59Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
mdcat
nix profile install nixpkgs#mdcatmdcat
sudo port install mdcatmain/mdcat
scoop install main/mdcat来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.