# Install mkvtoolnix with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, scoop, winget, zypper

Matroska media files manipulation tools. Version 100.0 via Homebrew; verified 2026-07-05.

## Install

```sh
sudo av install brew:mkvtoolnix
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mkvtoolnix
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mkvtoolnix
```

  Evidence: MacPorts ports tree: multimedia/mkvtoolnix/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mkvtoolnix
```

  Evidence: Alpine Linux edge package indexes: mkvtoolnix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mkvtoolnix
```

  Evidence: Debian stable package indexes: mkvtoolnix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mkvtoolnix
```

  Evidence: Fedora Rawhide package metadata: mkvtoolnix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mkvtoolnix
```

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

- zypper (92%):

```sh
sudo zypper install mkvtoolnix
```

  Evidence: openSUSE Tumbleweed package metadata: mkvtoolnix from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install mkvtoolnix
```

  Evidence: Chocolatey community package catalog: mkvtoolnix from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','mirc'

- Scoop (92%):

```sh
scoop install extras/mkvtoolnix
```

  Evidence: Scoop official bucket manifest trees: bucket/mkvtoolnix.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id MoritzBunkus.MKVToolNix -e
```

  Evidence: Windows Package Manager source index: MoritzBunkus.MKVToolNix from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:mkvtoolnix
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mkvtoolnix>
- **Version:** 100.0
- **Source summary:** Matroska media files manipulation tools
- **Homepage:** <https://mkvtoolnix.download/>
- **Repository:** <https://codeberg.org/mbunkus/mkvtoolnix>
- **Upstream docs:** <https://mkvtoolnix.download/doc>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://mkvtoolnix.download/sources/mkvtoolnix-100.0.tar.xz>
- **Last updated:** 2026-07-05T18:49:01Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mkvextract (cli)
- mkvinfo (cli)
- mkvmerge (cli)
- mkvpropedit (cli)
- mkvextract (alias)
- mkvinfo (alias)
- mkvmerge (alias)
- mkvpropedit (alias)

## Dependencies

- boost
- flac
- fmt
- gettext
- gmp
- libebml
- libmatroska
- libogg
- libvorbis
- pugixml
- qtbase

## Build dependencies

- docbook-xsl
- gettext
- nlohmann-json
- pkgconf
- utf8cpp

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 100.0
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://mkvtoolnix.download/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

MKVToolNix is Moritz Bunkus's long-running suite for Matroska media containers. The project site says the Matroska libraries and Bunkus's Matroska tools became officially available on May 1, 2003, and describes MKVToolNix as tools for creating, altering, and inspecting Matroska files on Linux, other Unix systems, and Windows. Matroska.org calls it the de-facto reference implementation of a Matroska multiplexer.

### Project history

The suite is centered on command-line tools that map to common container workflows. mkvmerge joins streams from media files into a Matroska file; mkvinfo reports track and element information; mkvextract extracts tracks and data to other formats; and mkvpropedit edits header, chapter, and attachment properties without remuxing. MKVToolNix GUI sits on top of those command-line tools for users who prefer a graphical workflow.

### How it is used

Its ecosystem role is broader than most MKV-related packages in this batch. Tools such as mkvdts2ac3 and mkvtomp4 depend on MKVToolNix for Matroska inspection or remuxing, while mkvalidator handles conformance checking beside it. Distribution support spans Homebrew, Chocolatey, Debian/Ubuntu, Fedora, MacPorts, Nix, Scoop, Winget, SUSE, and Alpine in the input record, matching its role as the standard packaging target for Matroska muxing and editing.

### Sources

- <https://mkvtoolnix.download/>
- <https://mkvtoolnix.download/doc/mkvmerge.html>
- <https://mkvtoolnix.download/downloads.html>
- <https://www.matroska.org/downloads/mkvtoolnix.html>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - mkvtoolnix - 92.0-1: normalized package name match | Debian stable package indexes: mkvtoolnix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Set of command-line tools to work with Matroska files | https://mkvtoolnix.download/index.html
- Debian apt - mkvtoolnix-gui - 92.0-1: normalized package name match | Debian stable package indexes: mkvtoolnix-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Set of tools to work with Matroska files - GUI frontend | https://mkvtoolnix.download/index.html
- Nix - mkvtoolnix: normalized package name match | nixpkgs package indexes: pkgs/by-name/mk/mkvtoolnix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mkvtoolnix - 82.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mkvtoolnix from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Set of command-line tools to work with Matroska files | https://mkvtoolnix.download/index.html
- Ubuntu apt - mkvtoolnix-gui - 82.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mkvtoolnix-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Set of tools to work with Matroska files - GUI frontend | https://mkvtoolnix.download/index.html
- apk - mkvtoolnix - 99.0-r0: normalized package name match | Alpine Linux edge package indexes: mkvtoolnix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Set of tools to create, edit and inspect Matroska files | https://mkvtoolnix.download/index.html
- apk - mkvtoolnix-doc - 99.0-r0: normalized package name match | Alpine Linux edge package indexes: mkvtoolnix-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Set of tools to create, edit and inspect Matroska files (documentation) | https://mkvtoolnix.download/index.html
- apk - mkvtoolnix-gui - 99.0-r0: normalized package name match | Alpine Linux edge package indexes: mkvtoolnix-gui from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Set of tools to create, edit and inspect Matroska files (GUI) | https://mkvtoolnix.download/index.html
- dnf - mkvtoolnix - 99.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: mkvtoolnix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Matroska container manipulation utilities | https://mkvtoolnix.download/
- dnf - mkvtoolnix-gui - 99.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: mkvtoolnix-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | QT Graphical interface for Matroska container manipulation | https://mkvtoolnix.download/
- zypper - mkvtoolnix - 99.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: mkvtoolnix from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tools to Create, Alter, and Inspect Matroska Files | http://bunkus.org/videotools/mkvtoolnix/
- zypper - mkvtoolnix-gui - 99.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: mkvtoolnix-gui from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Graphical user interface for mkvtoolnix utils | http://bunkus.org/videotools/mkvtoolnix/
- zypper - mkvtoolnix-tools - 99.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: mkvtoolnix-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Additional command line tools for mkv files | http://bunkus.org/videotools/mkvtoolnix/
- MacPorts - mkvtoolnix: normalized package name match | MacPorts ports tree: multimedia/mkvtoolnix/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - mkvtoolnix: normalized package name match | Chocolatey community package catalog: mkvtoolnix from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','mirc'
- Scoop - extras/mkvtoolnix: normalized package name match | Scoop official bucket manifest trees: bucket/mkvtoolnix.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [flac](https://www.automicvault.com/pkg/brew/flac/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [docbook-xsl](https://www.automicvault.com/pkg/brew/docbook-xsl/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [av1an](https://www.automicvault.com/pkg/brew/av1an/) - Popular package that depends on this formula.
- [dash-mpd-cli](https://www.automicvault.com/pkg/brew/dash-mpd-cli/) - Popular package that depends on this formula.
- [dovi_convert](https://www.automicvault.com/pkg/brew/dovi-convert/) - Popular package that depends on this formula.
- [mkvdts2ac3](https://www.automicvault.com/pkg/brew/mkvdts2ac3/) - Popular package that depends on this formula.
- [mkvtomp4](https://www.automicvault.com/pkg/brew/mkvtomp4/) - Popular package that depends on this formula.
- [mkvalidator](https://www.automicvault.com/pkg/brew/mkvalidator/) - Shares av.db curated category or tags: cli, container-tools, matroska, media.
- [mkclean](https://www.automicvault.com/pkg/brew/mkclean/) - Shares av.db curated category or tags: cli, matroska, media, mkv.
- [libwebm](https://www.automicvault.com/pkg/brew/libwebm/) - Shares av.db curated category or tags: cli, matroska, media.
- [mediaconch](https://www.automicvault.com/pkg/brew/mediaconch/) - Shares av.db curated category or tags: cli, matroska, media.
- [a52dec](https://www.automicvault.com/pkg/brew/a52dec/) - Shares av.db curated category or tags: cli, media.
- [mkvtoolnix-app](https://www.automicvault.com/pkg/cask/mkvtoolnix-app/) - Executable or command metadata overlaps with this package. Shared terms: files, matroska, mkv, mkvextract, mkvinfo.
- [sox_ng](https://www.automicvault.com/pkg/brew/sox-ng/) - Local package facts share a topical domain. Shared terms: cli, flac, libogg, libvorbis, media.
- [audiowaveform](https://www.automicvault.com/pkg/brew/audiowaveform/) - Local package facts share a topical domain. Shared terms: boost, cli, files, media.

## Combined YAML source

View the package source record on GitHub. [combined/mkvtoolnix.yml](https://github.com/automic-vault/db/blob/main/combined/mkvtoolnix.yml)


## Sources

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