# Install jpeg-xl with Homebrew, apt, Nix

New file format for still image compression. Version 0.12.0 via Homebrew; verified 2026-07-05.

## Install

```sh
sudo av install brew:jpeg-xl
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jpeg-xl
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install jpeg-xl-doc
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ssimulacra2
```

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

## Package facts

- **Package key:** brew:jpeg-xl
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jpeg-xl>
- **Version:** 0.12.0
- **Source summary:** New file format for still image compression
- **Homepage:** <https://jpeg.org/jpegxl/index.html>
- **Repository:** <https://github.com/libjxl/libjxl>
- **Upstream docs:** <https://github.com/libjxl/libjxl#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/libjxl/libjxl/archive/refs/tags/v0.12.0.tar.gz>
- **Last updated:** 2026-07-05T23:07:19Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- benchmark_xl (cli)
- butteraugli_main (cli)
- cjxl (cli)
- decode_and_encode (cli)
- display_to_hlg (cli)
- djxl (cli)
- djxl_fuzzer_corpus (cli)
- exr_to_pq (cli)
- generate_lut_template (cli)
- icc_simplify (cli)
- jxl_from_tree (cli)
- jxlinfo (cli)
- local_tone_map (cli)
- pq_to_hlg (cli)
- render_hlg (cli)
- ssimulacra2 (cli)
- ssimulacra_main (cli)
- texture_to_cube (cli)
- tone_map (cli)
- xyb_range (cli)
- benchmark_xl (alias)
- butteraugli_main (alias)
- cjxl (alias)
- decode_and_encode (alias)
- display_to_hlg (alias)
- djxl (alias)
- djxl_fuzzer_corpus (alias)
- exr_to_pq (alias)
- generate_lut_template (alias)
- icc_simplify (alias)
- jxl_from_tree (alias)
- jxlinfo (alias)
- local_tone_map (alias)
- pq_to_hlg (alias)
- render_hlg (alias)
- ssimulacra2 (alias)
- ssimulacra_main (alias)
- texture_to_cube (alias)
- tone_map (alias)
- xyb_range (alias)

## Dependencies

- brotli
- giflib
- highway
- imath
- jpeg-turbo
- libpng
- little-cms2
- openexr

## Build dependencies

- asciidoc
- cmake
- docbook-xsl
- doxygen
- pkgconf
- sphinx-doc
- webp

## 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: 0.12.0
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://github.com/libjxl/libjxl
- Upstream latest detected: v0.12.0 (current)
## Project history and usage

JPEG XL is the ISO/IEC 18181 still-image coding system and libjxl is its open-source reference implementation. In package-manager terms, the Homebrew jpeg-xl formula exposes the practical tools around the standard, especially cjxl for encoding and djxl for decoding.

### Project history

JPEG XL grew through the JPEG committee standardization process. The official documentation lists an April 2018 final call for proposals and March 2019 use-cases and requirements work. The official workplan lists the file format edition from 2021, core coding and conformance editions from 2022, and reference software as ISO/IEC 18181-4:2022.

The libjxl repository is the reference implementation for JPEG XL, including encoder and decoder libraries plus command-line tools. Its README states that files encoded with cjxl conform to the JPEG XL specification and can be decoded by future djxl decoders or the libjxl decoding library.

### Adoption history

JPEG XL adoption has been both standards-driven and package-driven. The official JPEG site positions it for responsive web delivery, professional photography, wide color gamut, high dynamic range, alpha, animation, lossless coding, progressive coding, and lossless recompression of existing JPEG files.

The libjxl README documents availability through Linux distributions and Homebrew, with Debian-style packages installing tools such as cjxl and djxl. The repository also points to application integrations, plugins, examples, a community site, and discussion channels, reflecting a codec ecosystem rather than a single binary.

### How it is used

Users encode with commands such as cjxl input.png output.jxl and decode with djxl input.jxl output.png. For JPEG input, libjxl can losslessly recompress an existing JPEG into JPEG XL and later reconstruct the original JPEG bitstream.

### Why package nerds care

jpeg-xl is important because it packages an active image standard, not merely an implementation. Installing it gives users the reference codec, benchmark and quality tools, and the command-line handles needed to test JPEG XL workflows before or alongside application-level support.

It is also a case study in codec packaging tension: standards work, browser/application adoption, conformance testing, patents/licensing, and distro integration all matter before a new image format feels real to users.

### Timeline

- 2018: JPEG issued the final call for proposals for a next-generation image coding standard.
- 2019: JPEG XL use cases and requirements were documented at the March 2019 Geneva meeting.
- 2021: ISO/IEC 18181-2:2021 file format edition was published.
- 2022: JPEG XL was standardized as ISO/IEC 18181, with core coding, conformance, and reference software parts in the 2022 generation.
- 2024: ISO/IEC 18181-1:2024 published a second edition of the core coding system.
- 2025: ISO/IEC 18181-3:2025 published a second edition of conformance testing.
- 2026: ISO/IEC 18181-2:2026 appeared as a third edition file-format publication.

### Related projects

- libjxl is the reference software implementation for JPEG XL.
- The official JPEG software page also lists jxl-rs, jxl-oxide, and libjxl/conformance.
- jpegli is identified by the libjxl README as continuing in google/jpegli.
- JPEG XL is related to legacy JPEG through its lossless JPEG transcoding and reconstruction feature.

### Sources

- <https://formulae.brew.sh/formula/jpeg-xl>
- <https://github.com/libjxl/libjxl>
- <https://github.com/libjxl/libjxl#readme>
- <https://github.com/libjxl/libjxl/releases>
- <https://jpeg.org/jpegxl/documentation.html>
- <https://jpeg.org/jpegxl/index.html>
- <https://jpeg.org/jpegxl/software.html>
- <https://jpeg.org/jpegxl/workplan.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:** jpeg-xl
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - jpeg-xl-doc - 0.11.2-0.1~deb13u1: normalized package name match | Debian stable package indexes: jpeg-xl-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (documentation) | https://github.com/libjxl/libjxl
- Debian apt - libjpegxl-java - 0.11.2-0.1~deb13u1: normalized package name match | Debian stable package indexes: libjpegxl-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (java bindings) | https://github.com/libjxl/libjxl
- Debian apt - libjxl-dev - 0.11.2-0.1~deb13u1: normalized package name match | Debian stable package indexes: libjxl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (development files) | https://github.com/libjxl/libjxl
- Debian apt - libjxl-devtools - 0.11.2-0.1~deb13u1: normalized package name match | Debian stable package indexes: libjxl-devtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (dev command line utility) | https://github.com/libjxl/libjxl
- Debian apt - libjxl-gdk-pixbuf - 0.11.2-0.1~deb13u1: normalized package name match | Debian stable package indexes: libjxl-gdk-pixbuf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Plugin for gdk-pixbuf | https://github.com/libjxl/libjxl
- Debian apt - libjxl-tools - 0.11.2-0.1~deb13u1: normalized package name match | Debian stable package indexes: libjxl-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (command line utility) | https://github.com/libjxl/libjxl
- Debian apt - libjxl0.11 - 0.11.2-0.1~deb13u1: normalized package name match | Debian stable package indexes: libjxl0.11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JPEG XL Image Coding System - "JXL" (shared libraries) | https://github.com/libjxl/libjxl
- Ubuntu apt - jpeg-xl-doc - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: jpeg-xl-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (documentation) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjpegxl-java - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjpegxl-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (java bindings) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjxl-dev - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjxl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (development files) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjxl-devtools - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjxl-devtools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (dev command line utility) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjxl-tools - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjxl-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (command line utility) | https://github.com/libjxl/libjxl
- Ubuntu apt - libjxl0.7 - 0.7.0-10.2ubuntu6: normalized package name match | Ubuntu 24.04 LTS package indexes: libjxl0.7 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JPEG XL Image Coding System - "JXL" (shared libraries) | https://github.com/libjxl/libjxl
- Nix - ssimulacra2: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ss/ssimulacra2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [brotli](https://www.automicvault.com/pkg/brew/brotli/) - Runtime dependency declared by Homebrew.
- [giflib](https://www.automicvault.com/pkg/brew/giflib/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [little-cms2](https://www.automicvault.com/pkg/brew/little-cms2/) - Runtime dependency declared by Homebrew.
- [openexr](https://www.automicvault.com/pkg/brew/openexr/) - Runtime dependency declared by Homebrew.
- [asciidoc](https://www.automicvault.com/pkg/brew/asciidoc/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [docbook-xsl](https://www.automicvault.com/pkg/brew/docbook-xsl/) - Build dependency declared by Homebrew.
- [doxygen](https://www.automicvault.com/pkg/brew/doxygen/) - Build dependency declared by Homebrew.
- [chafa](https://www.automicvault.com/pkg/brew/chafa/) - Popular package that depends on this formula.
- [ffmpeg-full](https://www.automicvault.com/pkg/brew/ffmpeg-full/) - Popular package that depends on this formula.
- [gdal](https://www.automicvault.com/pkg/brew/gdal/) - Popular package that depends on this formula.
- [geeqie](https://www.automicvault.com/pkg/brew/geeqie/) - Popular package that depends on this formula.
- [graphicsmagick](https://www.automicvault.com/pkg/brew/graphicsmagick/) - Popular package that depends on this formula.
- [imagemagick-full](https://www.automicvault.com/pkg/brew/imagemagick-full/) - Popular package that depends on this formula.
- [jxl-oxide](https://www.automicvault.com/pkg/brew/jxl-oxide/) - Shares av.db curated category or tags: cli, codec, image-codec, jpeg-xl, media.
- [musepack](https://www.automicvault.com/pkg/brew/musepack/) - Shares av.db curated category or tags: cli, codec, decoder, encoder, media.
- [dav1d](https://www.automicvault.com/pkg/brew/dav1d/) - Shares av.db curated category or tags: cli, codec, decoder, media.
- [djvulibre](https://www.automicvault.com/pkg/brew/djvulibre/) - Shares av.db curated category or tags: cli, decoder, encoder, media.
- [guetzli](https://www.automicvault.com/pkg/brew/guetzli/) - Shares av.db curated category or tags: cli, encoder, image-compression, media.
- [jasper](https://www.automicvault.com/pkg/brew/jasper/) - Shares av.db curated category or tags: cli, image-codec, media.
- [jbig2dec](https://www.automicvault.com/pkg/brew/jbig2dec/) - Shares av.db curated category or tags: cli, decoder, image-compression, media.

## Combined YAML source

View the package source record on GitHub. [combined/jpeg-xl.yml](https://github.com/automic-vault/db/blob/main/combined/jpeg-xl.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
