mupdf

Install command:
brew install mupdf

Lightweight PDF and XPS viewer

https://mupdf.com/

License: AGPL-3.0-or-later

Formula JSON API: /api/formula/mupdf.json

Formula code: mupdf.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 1.26.5
head ⚡️ HEAD

Depends on:

brotli 1.1.0 Generic-purpose lossless compression algorithm by Google
freetype 2.13.3 Software library to render fonts
gumbo-parser 0.13.1 C99 library for parsing HTML5
harfbuzz 11.3.3 OpenType text shaping engine
jbig2dec 0.20 JBIG2 decoder and library (for monochrome documents)
jpeg-turbo 3.1.1 JPEG image codec that aids compression and decompression
leptonica 1.85.0 Image processing and image analysis library
mujs 1.3.7 Embeddable Javascript interpreter
openjpeg 2.5.3 Library for JPEG-2000 image manipulation
openssl@3 3.5.2 Cryptography and SSL/TLS Toolkit
python@3.13 3.13.6 Interpreted, interactive, object-oriented programming language
tesseract 5.5.1 OCR (Optical Character Recognition) engine
libarchive 3.8.1 Multi-format archive and compression library

Depends on when building from source:

llvm 20.1.8 Next-gen compiler infrastructure
pkgconf 2.5.1 Package compiler and linker metadata toolkit
swig 4.3.1 Generate scripting interfaces to C/C++ code

Conflicts with: mupdf-tools

Analytics:

Installs (30 days)
mupdf 1,549
mupdf --HEAD 1
Installs on Request (30 days)
mupdf 1,164
mupdf --HEAD 1
Build Errors (30 days)
mupdf --HEAD 1
Installs (90 days)
mupdf 5,940
mupdf --HEAD 8
Installs on Request (90 days)
mupdf 4,645
mupdf --HEAD 8
Installs (365 days)
mupdf 21,932
mupdf --HEAD 39
Installs on Request (365 days)
mupdf 17,891
mupdf --HEAD 39