# 使用 Homebrew, dnf, pacman 安装 marked

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

## 安装

```sh
sudo av install brew:marked
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install marked
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install marked
```

  证据: Fedora Rawhide package metadata: marked from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S marked
```

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

## 软件包事实

- **软件包键:** brew:marked
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/marked>
- **版本:** 18.0.7
- **来源摘要:** Markdown parser and compiler built for speed
- **主页:** <https://marked.js.org/>
- **上游文档:** <https://marked.js.org/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/marked/-/marked-18.0.7.tgz>
- **最后更新:** 2026-07-22T03:36:42Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- marked (cli)
- marked (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 18.0.7
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://marked.js.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Marked is a long-running JavaScript Markdown parser, compiler, and CLI known for speed, broad runtime support, and a low-level API that lets applications turn Markdown into HTML.

### 项目历史

Marked began in 2011 under Christopher Jeffrey and later moved into the markedjs organization. The official license file preserves that history by distinguishing the 2011-2018 copyright period from the MarkedJS-maintained period that followed.

The GitHub repository and npm package were both created on 2011-07-24, putting Marked among the older Markdown packages in the Node.js package ecosystem. Its documentation emphasizes speed, browser/server/CLI use, and an extension model through marked.use().

### 采用历史

Marked became a widely packaged Markdown implementation: by 2026-07-01 the GitHub repository reported 36,943 stars and 3,551 forks, while the npm package metadata showed version 18.0.5 as the current release. The supplied package-manager facts also list Homebrew, Fedora, and Arch packages, showing distribution beyond npm.

The project remained active through frequent 2026 releases, with GitHub release notes for v18.0.x documenting parser and CLI fixes. That maintenance cadence matters because Markdown parsers live in a long tail of edge cases, security expectations, and compatibility questions.

### 使用方式

Marked is used both as a library and as a command-line program. The README shows CLI conversion with marked -o and JavaScript usage through marked.parse(), while the official docs warn that Marked does not sanitize generated HTML and should be paired with a sanitizer when rendering untrusted content.

For package maintainers, Marked is the sort of dependency that sits underneath documentation sites, static-site tools, server renderers, browser previews, and conversion scripts. Its package metadata exposes a marked binary and ESM/browser entry points, matching the multi-runtime story in the official docs.

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

Marked is historically important because it is both an npm-era Markdown parser and a CLI in one package. Its long version history, large downstream use, and explicit no-sanitization boundary make it a useful case study in how small parsing packages become infrastructure.

### 时间线

- 2011: GitHub repository and npm package created.
- 2018: Maintenance identity reflected as MarkedJS in the project license.
- 2026: v18.0.5 published and repository metadata showed more than 36,000 stars.

### Related projects

- Marked is commonly compared with markdown-it, CommonMark reference implementations, and markdown-it-based tooling.
- marked-highlight and marked-man appear in the package ecosystem around syntax highlighting and man-page generation.

### 来源

- <https://github.com/markedjs/marked>
- <https://marked.js.org/>
- <https://raw.githubusercontent.com/markedjs/marked/master/README.md>
- <https://registry.npmjs.org/marked>


## 安全说明

没有找到 marked 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- dnf - js-marked - 2.0.0-14.fc45: normalized package name match | Fedora Rawhide package metadata: js-marked from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Minified markdown parser for JavaScript built for speed | https://github.com/markedjs/marked
- dnf - marked - 2.0.0-14.fc45: normalized package name match | Fedora Rawhide package metadata: marked from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A markdown parser for Node.js built for speed | https://github.com/markedjs/marked
- dnf - nodejs-marked - 2.0.0-14.fc45: normalized package name match | Fedora Rawhide package metadata: nodejs-marked from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A markdown parser for JavaScript built for speed | https://github.com/markedjs/marked
- pacman - marked - 13.0.2-1: normalized package name match | Arch Linux sync databases: marked from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A markdown parser built for speed | https://marked.js.org


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [comrak](https://pkg.so/zh-hans/brew/comrak/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, markup, parser.
- [peg-markdown](https://pkg.so/zh-hans/brew/peg-markdown/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, markup, parser.
- [md4c](https://pkg.so/zh-hans/brew/md4c/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, markup, parser.
- [python-markdown](https://pkg.so/zh-hans/brew/python-markdown/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, markup, parser.
- [cmark](https://pkg.so/zh-hans/brew/cmark/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, parser.
- [cmark-gfm](https://pkg.so/zh-hans/brew/cmark-gfm/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, parser.
- [pandoc](https://pkg.so/zh-hans/brew/pandoc/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, markup.
- [markdownlint-cli](https://pkg.so/zh-hans/brew/markdownlint-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown.
- [marked](https://pkg.so/zh-hans/npm/marked/) - Same normalized package name appears in another local ecosystem. Shared terms: built, cli, developer, developer-tools, markdown.
- [marked](https://pkg.so/zh-hans/npm/marked/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## 来源

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