# 使用 Homebrew, Nix 安装 mlc

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

## 安装

```sh
sudo av install brew:mlc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mlc
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mlc
```

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

## 软件包事实

- **软件包键:** brew:mlc
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mlc>
- **版本:** 1.2.0
- **来源摘要:** Check for broken links in markup files
- **主页:** <https://github.com/becheran/mlc>
- **仓库:** <https://github.com/becheran/mlc>
- **许可证:** MIT
- **源码归档:** <https://github.com/becheran/mlc/archive/refs/tags/v1.2.0.tar.gz>
- **最后更新:** 2026-06-22T14:05:30-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mlc (cli)
- mlc (别名)

## 构建依赖

- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.0
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/becheran/mlc
- 检测到的最新版本: v1.2.0 (当前)
## 项目历史与用法

Markup Link Checker, packaged as mlc, is a Rust command-line link checker developed in the becheran/mlc repository, which was created on GitHub on 2019-12-28. Its upstream documentation frames the project around a documentation-maintenance problem: finding links in Markdown and HTML files, then validating both local paths and web URLs.

### 使用方式

The tool's practical niche is CI-friendly markup validation. Its README emphasizes GitHub Actions integration, workflow-command annotations for broken links, throttling to avoid HTTP 429 responses, offline checking, ignore comments, and configuration for selecting files or markup types. That places mlc near tools such as markdown-link-check and linkinator, but with a Rust single-binary packaging story and explicit support for both Markdown and HTML. Users typically run `mlc` at a repository root, against a documentation directory, or inside a CI workflow to fail builds when docs rot.

### 来源

- <https://api.github.com/repos/becheran/mlc>
- <https://formulae.brew.sh/formula/mlc>
- <https://github.com/becheran/mlc>
- <https://raw.githubusercontent.com/becheran/mlc/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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: ./.mlc.toml
## 源数据库详情

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

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

- Nix - mlc: normalized package name match | nixpkgs package indexes: pkgs/by-name/ml/mlc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [pandoc](https://pkg.so/zh-hans/brew/pandoc/) - Shares pkgdb curated category or tags: cli, developer-tools, html, markdown, markup.
- [markdown](https://pkg.so/zh-hans/brew/markdown/) - Shares pkgdb curated category or tags: cli, developer-tools, html, markdown, markup.
- [discount](https://pkg.so/zh-hans/brew/discount/) - Shares pkgdb curated category or tags: cli, developer-tools, html, markdown, markup.
- [deadfinder](https://pkg.so/zh-hans/brew/deadfinder/) - Shares pkgdb curated category or tags: cli, developer-tools, link-checker, link-checking.
- [pyspelling](https://pkg.so/zh-hans/brew/pyspelling/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, quality.
- [lychee](https://pkg.so/zh-hans/brew/lychee/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, link-checker.
- [lowdown](https://pkg.so/zh-hans/brew/lowdown/) - Shares pkgdb curated category or tags: cli, developer-tools, html, markdown.
- [cspell](https://pkg.so/zh-hans/brew/cspell/) - Shares pkgdb curated category or tags: cli, developer-tools, quality.
- [freshlinks](https://pkg.so/zh-hans/npm/freshlinks/) - Local package facts share a topical domain. Shared terms: checking, cli, developer, developer-tools, link.
- [codeowners-audit](https://pkg.so/zh-hans/npm/codeowners-audit/) - Both packages work with overlapping file formats or content types. Shared terms: check, ci, cli, developer, developer-tools.

## Combined YAML source

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


## 来源

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