# 使用 Homebrew, apk, Nix, scoop 安装 comrak

查看 comrak 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:comrak
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install comrak
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add comrak
```

  证据: Alpine Linux edge package indexes: comrak from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#comrak
```

  证据: nixpkgs package indexes: pkgs/by-name/co/comrak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/comrak
```

  证据: Scoop official bucket manifest trees: bucket/comrak.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:comrak
- **软件包管理器:** Homebrew
- **版本:** 0.54.0
- **来源摘要:** CommonMark + GFM compatible Markdown parser and renderer
- **主页:** <https://comrak.ee>
- **仓库:** <https://github.com/kivikakk/comrak>
- **最后更新:** 2026-07-12T03:22:29Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- comrak (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.54.0
## 项目历史与用法

Comrak is a Rust CommonMark and GitHub Flavored Markdown parser and renderer with both library and CLI use cases.

### 项目历史

The project publishes a Rust crate and CLI around standards-oriented Markdown parsing. Its README emphasizes compatibility with CommonMark and GitHub Flavored Markdown and shows conformance badge counts for both test suites.

### 采用历史

crates.io records public Comrak releases starting in 2017. Official installation notes cover Cargo, cargo-binstall, several Unix distributions, Homebrew, Nix, and Scoop, showing adoption as both a Rust library dependency and a standalone formatter/converter CLI.

### 使用方式

Comrak can parse files or standard input and render HTML, XML, or CommonMark. Its CLI supports a config file and options for GFM extensions, HTML safety behavior, syntax highlighting, source positions, and in-place formatting.

### 为什么软件包爱好者会关心

Comrak matters to package maintainers because Markdown rendering is part of package metadata, README display, docs generation, and changelog tooling. A CommonMark/GFM-compatible Rust implementation gives both Rust programs and shell workflows a reusable renderer.

### 时间线

- 2017: crates.io records the first public Comrak release.
- 2018: GitHub releases include early 0.1.x builds.
- 2026: crates.io records continuing 0.52.x releases.

### Related projects

- Comrak is related to CommonMark, GitHub Flavored Markdown, cmark-gfm, docs.rs, crates.io, and Markdown-oriented documentation pipelines.

### 来源

- <https://comrak.ee/>
- <https://github.com/kivikakk/comrak>
- <https://raw.githubusercontent.com/kivikakk/comrak/main/README.md>
- <https://crates.io/api/v1/crates/comrak>
- <https://github.com/kivikakk/comrak/releases/tag/0.1.8>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: $XDG_CONFIG_HOME/comrak/config, ~/.config/comrak/config
## 其他软件包管理器记录

- Nix - comrak: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/comrak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - comrak - 0.54.0-r0: normalized package name match | Alpine Linux edge package indexes: comrak from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CommonMark + GFM compatible Markdown parser and renderer | https://github.com/kivikakk/comrak
- apk - comrak-doc - 0.54.0-r0: normalized package name match | Alpine Linux edge package indexes: comrak-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CommonMark + GFM compatible Markdown parser and renderer (documentation) | https://github.com/kivikakk/comrak
- Scoop - main/comrak: normalized package name match | Scoop official bucket manifest trees: bucket/comrak.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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