# 使用 Homebrew, Nix 安装 mkclean

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

## 安装

```sh
sudo av install brew:mkclean
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mkclean
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mkclean
```

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

## 软件包事实

- **软件包键:** brew:mkclean
- **软件包管理器:** Homebrew
- **版本:** 0.9.0
- **来源摘要:** Optimizes Matroska and WebM files
- **主页:** <https://www.matroska.org/downloads/mkclean.html>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mkclean (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

mkclean is an official Matroska command-line utility for cleaning and optimizing already-muxed Matroska and WebM files. The official page describes it as a tool that reorders elements with Cues at the front for efficient streaming, removes elements outside the Matroska specs, and can optionally remux Cluster blocks around keyframes.

### 项目历史

mkclean belongs to the Matroska tooling family around Matroska and WebM container maintenance. The official Matroska page lists v0.9.0 from January 31, 2021 as the latest release and links release source packages through SourceForge.

The project depends on libebml2 and libmatroska2, themselves part of the Matroska container implementation stack.

### 采用历史

mkclean's package-manager footprint is narrow but useful: Homebrew and Nix package it for users who want an installed command-line optimizer for Matroska and WebM files without building the Matroska release tarball manually.

### 使用方式

mkclean is a post-processing tool. Users run it on existing .mkv, .mka, .mks, .mk3d, .webm, or .weba files to improve streaming layout, remove invalid elements, and optionally remux clusters around keyframes.

It complements muxers and validators: it does not encode media, but adjusts container structure and metadata layout.

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

mkclean is notable as one of the small Matroska ecosystem commands that package managers preserve even when most users know the larger MKVToolNix suite. It represents the Unix packaging pattern of shipping a focused maintenance utility around a media container format.

### 时间线

- 2010: Changelog series shows active 0.3 through 0.8 development around Matroska/WebM cleanup and optimization behavior.
- 2012-08: Changelog lists v0.8.10 with updated Matroska element support.
- 2021-01: Official page lists v0.9.0 as the latest release.

### Related projects

- mkclean is related to Matroska, WebM, libebml2, libmatroska2, mkvalidator, and MKVToolNix.

### 来源

- <https://sourceforge.net/projects/matroska/files/mkclean/ChangeLog.txt/view>
- <https://www.matroska.org/downloads/mkclean.html>
- <https://www.matroska.org/source_code_repositories.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

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


## Combined YAML source

View the package source record on GitHub. [combined/mkclean.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mkclean.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
