# Install comrak with Homebrew, apk, Nix, scoop

CommonMark + GFM compatible Markdown parser and renderer. Version 0.53.0 via Homebrew; verified 2026-07-02.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install comrak
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add comrak
```

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

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

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

## Package facts

- **Package key:** brew:comrak
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/comrak>
- **Version:** 0.53.0
- **Source summary:** CommonMark + GFM compatible Markdown parser and renderer
- **Homepage:** <https://comrak.ee>
- **Repository:** <https://github.com/kivikakk/comrak>
- **Upstream docs:** <https://comrak.ee/>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/kivikakk/comrak/archive/refs/tags/v0.53.0.tar.gz>
- **Last updated:** 2026-07-02T03:22:27Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- comrak (cli)
- comrak (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 0.53.0
- Package-manager updated: 2026-07-02
- Local data: ok
- Upstream repository: https://github.com/kivikakk/comrak
- Upstream latest detected: v0.53.0 (current)
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** comrak
- **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

## Other Package-Manager Records

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


## 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.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [hoedown](https://www.automicvault.com/pkg/brew/hoedown/) - Shares av.db curated category or tags: cli, developer-tools, markdown, markup, parser.
- [marked](https://www.automicvault.com/pkg/brew/marked/) - Shares av.db curated category or tags: cli, developer-tools, markdown, markup, parser.
- [peg-markdown](https://www.automicvault.com/pkg/brew/peg-markdown/) - Shares av.db curated category or tags: cli, developer-tools, markdown, markup, parser.
- [md4c](https://www.automicvault.com/pkg/brew/md4c/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown, markup.
- [cmark](https://www.automicvault.com/pkg/brew/cmark/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown, parser.
- [cmark-gfm](https://www.automicvault.com/pkg/brew/cmark-gfm/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, github-flavored-markdown, markdown.
- [markdownlint-cli](https://www.automicvault.com/pkg/brew/markdownlint-cli/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown.
- [markdownlint-cli2](https://www.automicvault.com/pkg/brew/markdownlint-cli2/) - Shares av.db curated category or tags: cli, commonmark, developer-tools, markdown.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
