# Install cmark-gfm with Homebrew, apt, MacPorts, Nix, pacman

C implementation of GitHub Flavored Markdown. Version 0.29.0.gfm.13 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

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

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:cmark-gfm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cmark-gfm>
- **Version:** 0.29.0.gfm.13
- **Source summary:** C implementation of GitHub Flavored Markdown
- **Homepage:** <https://github.com/github/cmark-gfm>
- **Repository:** <https://github.com/github/cmark-gfm>
- **Upstream docs:** <https://github.com/github/cmark-gfm#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/github/cmark-gfm/archive/refs/tags/0.29.0.gfm.13.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cmark-gfm (cli)
- cmark-gfm (alias)

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.29.0.gfm.13
- Local data: ok
- Upstream repository: https://github.com/github/cmark-gfm
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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-1: 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
- MacPorts - cmark-gfm: normalized package name match | MacPorts ports tree: devel/cmark-gfm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [standardese](https://www.automicvault.com/pkg/brew/standardese/) - Popular package that depends on this formula.
- [cmark](https://www.automicvault.com/pkg/brew/cmark/) - Shares av.db curated category or tags: c, cli, commonmark, developer-tools, documentation.
- [comrak](https://www.automicvault.com/pkg/brew/comrak/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, github-flavored-markdown, markdown.
- [md4c](https://www.automicvault.com/pkg/brew/md4c/) - Shares av.db curated category or tags: c, cli, commonmark, developer-tools, markdown.
- [action-docs](https://www.automicvault.com/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [docfx](https://www.automicvault.com/pkg/brew/docfx/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [docmd](https://www.automicvault.com/pkg/brew/docmd/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [github-markdown-toc](https://www.automicvault.com/pkg/brew/github-markdown-toc/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [go-md2man](https://www.automicvault.com/pkg/brew/go-md2man/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
