# 使用 Homebrew, Nix, scoop 安装 marp-cli

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

## 安装

```sh
sudo av install brew:marp-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install marp-cli
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#marp-cli
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/marp
```

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

## 软件包事实

- **软件包键:** brew:marp-cli
- **软件包管理器:** Homebrew
- **版本:** 4.5.0
- **来源摘要:** Easily convert Marp Markdown files into static HTML/CSS, PDF, PPT and images
- **主页:** <https://github.com/marp-team/marp-cli>
- **最后更新:** 2026-07-19T08:32:04Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- marp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Marp CLI is the command-line interface for the Marp/Marpit Markdown presentation ecosystem, converting slide decks into HTML, PDF, PowerPoint, images, and related outputs.

### 项目历史

The marp-cli repository was created on 2018-08-09, and the npm package was first published on 2018-08-21. It belongs to the Marp team ecosystem, using Marp Core and the Marpit framework as the conversion engine.

The README presents Marp CLI as a tool for converting Marp or Marpit Markdown decks into static HTML/CSS, PDF, PowerPoint documents, and images. Over time it accumulated browser-based export paths, watch/preview/server modes, Docker usage, standalone binaries, and configuration through cosmiconfig-style files.

### 采用历史

By 2026-07-01 GitHub metadata showed 3,673 stars and 189 forks for marp-cli, while the npm registry listed @marp-team/marp-cli 4.4.0 as current. The supplied package-manager facts list Homebrew, Nix, and Scoop, and the README also points to npm, Docker Hub, and standalone binaries.

The broader Marp homepage describes an official toolset including Marp for VS Code, Marp CLI, Marp Core, and Marpit. That ecosystem story helped the CLI become the automation/export counterpart to editor-based slide authoring.

### 使用方式

Users write slides in Marp Markdown and run marp to produce HTML, PDF, PPTX, PNG/JPEG images, presenter notes, or a local preview/server. PDF, PPTX, and image export use a browser such as Chrome, Edge, or Firefox.

Marp CLI discovers config files such as marp.config.js, marp.config.mjs, marp.config.cjs, marp.config.ts, .marprc variants, or a marp section in package.json. It also accepts --config-file/--config/-c for explicit configuration.

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

Marp CLI is significant because it turns Markdown slide decks into reproducible build artifacts. In package-manager culture it is a classic docs-as-code tool: install one CLI in CI, keep slides in git, and export web, PDF, and PowerPoint deliverables from the same source.

### 时间线

- 2018: GitHub repository created and npm package first published.
- 2024: Marp CLI v4 introduced major updates in the Marp team release stream.
- 2026: v4.4.0 added Node.js v26 support and Linux ARM64 standalone builds.

### Related projects

- Marp CLI depends on the Marp ecosystem: Marp, Marp Core, and Marpit.
- Marp for VS Code is the editor-side companion for writing and previewing Marp Markdown decks.

### 来源

- <https://github.com/marp-team/marp-cli>
- <https://marp.app/>
- <https://raw.githubusercontent.com/marp-team/marp-cli/main/README.md>
- <https://registry.npmjs.org/@marp-team%2fmarp-cli>


## 安全说明

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



## 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: marp.config.js, marp.config.mjs, marp.config.cjs, marp.config.ts, .marprc, .marprc.json, .marprc.yaml, .marprc.yml, package.json, file supplied with --config-file
## 其他软件包管理器记录

- Nix - marp-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/marp-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/marp: installed executable or alias match | Scoop official bucket manifest trees: bucket/marp.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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