# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 18.0.7
- **来源摘要:** Markdown parser and compiler built for speed
- **主页:** <https://marked.js.org/>
- **最后更新:** 2026-07-22T03:36:42Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- marked (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
