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

Lightweight PDF and XPS viewer. Version 1.28.1 via Homebrew; verified 2026-07-31. Also installable with debian: sudo apt install libmupdf-dev.

## Install

```sh
sudo av install brew:mupdf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mupdf
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mupdf
```

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

### Linux

- apk (92%):

```sh
sudo apk add mupdf
```

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

- Debian apt (92%):

```sh
sudo apt install mupdf
```

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

- dnf (92%):

```sh
sudo dnf install mupdf
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mupdf
```

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

- pacman (92%):

```sh
sudo pacman -S mupdf
```

  Evidence: Arch Linux sync databases: mupdf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mupdf
```

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

### Windows

- Chocolatey (92%):

```sh
choco install mupdf
```

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

- Scoop (92%):

```sh
scoop install extras/mupdf
```

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

- winget (92%):

```sh
winget install --id ArtifexSoftware.mutool -e
```

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

## Package facts

- **Package key:** brew:mupdf
- **Package manager:** Homebrew
- **Version:** 1.28.1
- **Source summary:** Lightweight PDF and XPS viewer
- **Homepage:** <https://mupdf.com/>
- **Last updated:** 2026-07-31T12:44:48Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mudraw (alias)
- mupdf-gl (alias)
- mupdf-x11 (alias)
- mutool (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.28.1
## Project history and usage

MuPDF is a lightweight open-source document framework developed by Artifex Software and written in C for viewing, converting, and manipulating PDF, XPS, and e-book documents. Historical accounts trace the project to Tor Andersson's work on a PDF renderer in 2002, followed by Artifex's acquisition of the project and the development of Fitz, the graphics library that became MuPDF's rendering core. The first Fitz-based MuPDF release appeared in 2005, and the GitHub project copyright notice covers Artifex's stewardship from 2006 onward.

### Project history

The project became known for speed, small code size, and high-quality anti-aliased rendering. Its scope grew from a minimal PDF viewer and renderer into a document toolkit with viewers for multiple platforms, command-line tools, and embeddable libraries. MuPDF's documented format support includes PDF, XPS/OpenXPS, EPUB, MOBI, FB2, comic-book archives, common images, and limited SVG, while its toolchain handles rendering, conversion, extraction, inspection, cleaning, and scripting.

### How it is used

MuPDF's ecosystem role sits between desktop viewers, embedded renderers, and developer SDKs. SumatraPDF documents MuPDF as the library it uses to parse and render PDF files, and Artifex markets MuPDF Core, PyMuPDF, MuPDF.js, and MuPDF.NET as related products around the same engine family. In package managers, brew:mupdf is the full viewer/toolkit formula, while mupdf-tools-style packages expose only the CLI utilities for automation-heavy systems.

### Sources

- <https://artifex.com/blog/mupdfjs-with-npm>
- <https://en.wikipedia.org/wiki/MuPDF>
- <https://formulae.brew.sh/formula/mupdf>
- <https://github.com/ArtifexSoftware/mupdf>
- <https://mupdf.com/>
- <https://mupdf.readthedocs.io/en/1.27.1/guide/what-is-mupdf.html>
- <https://mupdf.readthedocs.io/en/latest/tools/mutool.html>
- <https://www.sumatrapdfreader.org/docs/Contribute-to-SumatraPDF>


## Security Notes

No matching local secret-handling manifest was found for mupdf. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- Debian apt - libmupdf-dev - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: libmupdf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for the MuPDF viewer | https://mupdf.com/
- Debian apt - libmupdf25.1 - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: libmupdf25.1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared library for the MuPDF viewer | https://mupdf.com/
- Debian apt - mupdf - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: mupdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight PDF viewer | https://mupdf.com/
- Debian apt - mupdf-tools - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: mupdf-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line tools for the MuPDF viewer | https://mupdf.com/
- Debian apt - python3-mupdf - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: python3-mupdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python bindings for MuPDF library | https://mupdf.com/
- Nix - mupdf: normalized package name match | nixpkgs package indexes: pkgs/by-name/mu/mupdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmupdf-dev - 1.23.10+ds1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmupdf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for the MuPDF viewer | https://mupdf.com/
- Ubuntu apt - mupdf - 1.23.10+ds1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mupdf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight PDF viewer | https://mupdf.com/
- Ubuntu apt - mupdf-tools - 1.23.10+ds1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mupdf-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line tools for the MuPDF viewer | https://mupdf.com/
- apk - mupdf - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer | https://mupdf.com
- apk - mupdf-dev - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer (development files) | https://mupdf.com
- apk - mupdf-doc - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer (documentation) | https://mupdf.com
- apk - mupdf-gl - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-gl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer with OpenGL backend | https://mupdf.com
- apk - mupdf-libs - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer | https://mupdf.com
- apk - mupdf-tools - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tools for a lightweight PDF and XPS viewer | https://mupdf.com
- apk - mupdf-x11 - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-x11 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer with X11 backend | https://mupdf.com


## Combined YAML source

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


## Sources

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
