# 使用 Homebrew, apt, MacPorts, Nix, pacman, zypper 安装 cmark-gfm

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

## 安装

```sh
sudo av install brew:cmark-gfm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cmark-gfm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cmark-gfm
```

  证据: MacPorts ports tree: devel/cmark-gfm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install cmark-gfm
```

  证据: Debian stable package indexes: cmark-gfm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#cmark-gfm
```

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

- pacman (92%):

```sh
sudo pacman -S cmark-gfm
```

  证据: Arch Linux sync databases: cmark-gfm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install cmark-gfm
```

  证据: openSUSE Tumbleweed package metadata: cmark-gfm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:cmark-gfm
- **软件包管理器:** Homebrew
- **版本:** 0.29.0.gfm.13
- **来源摘要:** C implementation of GitHub Flavored Markdown
- **主页:** <https://github.com/github/cmark-gfm>
- **仓库:** <https://github.com/github/cmark-gfm>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cmark-gfm (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

cmark-gfm is GitHub's fork of cmark, extending the CommonMark C reference implementation with GitHub Flavored Markdown extensions. It provides GFM-specific libraries and binaries suffixed with -gfm so they can coexist with upstream cmark.

### 项目历史

GitHub created the cmark-gfm repository in December 2016. The README states that the project adds GitHub Flavored Markdown extensions to the upstream CommonMark implementation, as defined by the GFM spec, while preserving much of the upstream cmark README.

### 采用历史

The GFM spec says GitHub Flavored Markdown is the Markdown dialect supported for user content on GitHub.com and GitHub Enterprise. The batch input lists cmark-gfm packages for Homebrew, Debian, MacPorts, Nix, Arch/pacman, and Ubuntu, reflecting its role as the packaged local implementation of GitHub's Markdown dialect.

### 使用方式

Users run cmark-gfm or link against its library to parse Markdown with GitHub extensions such as tables, task list items, strikethrough, autolinks, and disallowed raw HTML behavior. The README also documents the inherited cmark AST, renderer, security, build, and test workflows.

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

cmark-gfm matters when a package needs GitHub-style Markdown rendering rather than plain CommonMark. The -gfm suffixing is package-manager friendly because it avoids collisions with upstream cmark while exposing GitHub's dialect as a reproducible command-line and library dependency.

### 时间线

- 2016: GitHub creates the cmark-gfm repository.
- 2017: tag 0.27.1.gfm.0 marks an early public GFM release line.
- 2019: the GFM spec version 0.29-gfm is published.
- 2023: GitHub release 0.29.0.gfm.13 is published.

### Related projects

- cmark-gfm is directly related to upstream cmark, the CommonMark spec, the GitHub Flavored Markdown spec, and libraries that wrap libcmark-compatible parsers.

### 来源

- <https://github.com/github/cmark-gfm#readme>
- <https://github.github.com/gfm/>
- <https://api.github.com/repos/github/cmark-gfm>
- <https://api.github.com/repos/github/cmark-gfm/releases>


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Debian apt - cmark-gfm - 0.29.0.gfm.13-4: normalized package name match | Debian stable package indexes: cmark-gfm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CommonMark parsing and rendering program, GitHub flavor | https://github.com/github/cmark
- Debian apt - libcmark-gfm-dev - 0.29.0.gfm.13-4: normalized package name match | Debian stable package indexes: libcmark-gfm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CommonMark GitHub flavor gfm library dev files | https://github.com/github/cmark
- Debian apt - libcmark-gfm-extensions-dev - 0.29.0.gfm.13-4: normalized package name match | Debian stable package indexes: libcmark-gfm-extensions-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CommonMark GitHub flavor gfm extensions library dev files | https://github.com/github/cmark
- Debian apt - libcmark-gfm-extensions0.29.0.gfm.13 - 0.29.0.gfm.13-4: normalized package name match | Debian stable package indexes: libcmark-gfm-extensions0.29.0.gfm.13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CommonMark GitHub flavor gfm extension library | https://github.com/github/cmark
- Debian apt - libcmark-gfm0.29.0.gfm.13 - 0.29.0.gfm.13-4: normalized package name match | Debian stable package indexes: libcmark-gfm0.29.0.gfm.13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CommonMark GitHub flavor gfm library | https://github.com/github/cmark
- Nix - cmark-gfm: normalized package name match | nixpkgs package indexes: pkgs/by-name/cm/cmark-gfm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cmark-gfm - 0.29.0.gfm.6-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: cmark-gfm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CommonMark parsing and rendering program, GitHub flavor | https://github.com/github/cmark
- Ubuntu apt - libcmark-gfm-dev - 0.29.0.gfm.6-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcmark-gfm-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CommonMark GitHub flavor gfm library dev files | https://github.com/github/cmark
- Ubuntu apt - libcmark-gfm-extensions-dev - 0.29.0.gfm.6-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcmark-gfm-extensions-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CommonMark GitHub flavor gfm extensions library dev files | https://github.com/github/cmark
- Ubuntu apt - libcmark-gfm-extensions0.29.0.gfm.6 - 0.29.0.gfm.6-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcmark-gfm-extensions0.29.0.gfm.6 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CommonMark GitHub flavor gfm extension library | https://github.com/github/cmark
- Ubuntu apt - libcmark-gfm0.29.0.gfm.6 - 0.29.0.gfm.6-6build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcmark-gfm0.29.0.gfm.6 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CommonMark GitHub flavor gfm library | https://github.com/github/cmark
- pacman - cmark-gfm - 0.29.0.gfm.13-2: normalized package name match | Arch Linux sync databases: cmark-gfm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C | https://github.com/github/cmark
- zypper - cmark-gfm - 0.29.0.gfm.13-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cmark-gfm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | GitHub's fork of cmark, a CommonMark parsing and rendering library | https://github.com/github/cmark-gfm
- zypper - cmark-gfm-devel - 0.29.0.gfm.13-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cmark-gfm-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for the cmark-gfm libraries | https://github.com/github/cmark-gfm
- zypper - libcmark-gfm-extensions0_29_0_gfm_13 - 0.29.0.gfm.13-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libcmark-gfm-extensions0_29_0_gfm_13 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | GitHub Flavored Markdown extensions for cmark-gfm | https://github.com/github/cmark-gfm
- zypper - libcmark-gfm0_29_0_gfm_13 - 0.29.0.gfm.13-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libcmark-gfm0_29_0_gfm_13 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CommonMark parsing and rendering library | https://github.com/github/cmark-gfm


## Combined YAML source

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


## 来源

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