Automic VaultAutomic Vault

brew

Install jpegoptim with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Utility to optimize JPEG files. Version 1.5.6 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install jpegoptim

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install jpegoptim

MacPorts ports tree · graphics/jpegoptim/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add jpegoptim

Alpine Linux edge package indexes · jpegoptim · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install jpegoptim

Debian stable package indexes · jpegoptim · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install jpegoptim

Fedora Rawhide package metadata · jpegoptim · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#jpegoptim

nixpkgs package indexes · pkgs/by-name/jp/jpegoptim/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S jpegoptim

Arch Linux sync databases · jpegoptim · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install jpegoptim

openSUSE Tumbleweed package metadata · jpegoptim · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/jpegoptim

Scoop official bucket manifest trees · bucket/jpegoptim.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id TimoKokkonen.Jpegoptim -e

Windows Package Manager source index · TimoKokkonen.Jpegoptim · source: cdn.winget.microsoft.com

overview

Package summary

Utility to optimize JPEG files

Commands and aliases

  • jpegoptim

history

Project history and usage

jpegoptim is Timo Kokkonen's long-running command-line optimizer for JPEG/JFIF files. It focuses on lossless Huffman-table optimization and optional lossy recompression controlled by quality or target-size flags.

Project history

The upstream README records copyright years beginning in 1996 and lists v1.0 as the first public release. The project was built around IJG libjpeg, with compatibility notes for libjpeg-turbo and mozjpeg, and it stayed close to the Unix tradition of a small binary that rewrites files in place unless directed otherwise.

The 1.2 and 1.3 series added metadata preservation and stripping controls, GNU autoconf support, progressive JPEG support, target-size compression, and better cross-platform handling. The 1.4 and 1.5 series added stdin/stdout workflows, parallel workers, safer marker handling, fuzzing integration, CI-built binaries, and options such as `--retry`, `--save-extra`, and `--auto-mode`.

Adoption history

jpegoptim became a standard packaging target because web developers, image pipelines, and static-site build scripts needed a scriptable way to reduce JPEG size without changing formats. Its presence across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE reflects broad use in both Unix and cross-platform developer environments.

How it is used

The tool is commonly run over directories of JPEGs to reduce file size, strip or preserve metadata, convert progressive mode, or cap quality. Because it can preserve modification times and permissions and can emit CSV progress, it fits automation as well as one-off cleanup.

Why package nerds care

jpegoptim is notable because it turns a libjpeg-compatible encoder into a packaging-era workhorse: tiny CLI surface, old-school C portability, and enough knobs for web-performance pipelines. It also shows the practical boundary between lossless JPEG optimization and deliberate lossy recompression.

Timeline

  • 1996: Copyright period begins in the upstream README.
  • v1.0: First public release, as listed in the upstream history.
  • v1.3.0: Added progressive JPEG support and target-size lossy optimization.
  • 2022-09-15: v1.5.0 added `--workers` for parallel processing.
  • 2025-09-15: v1.5.6 added `--retry`, `--save-extra`, `--auto-mode`, initial unit tests, and OSSFuzz integration.

Related projects

  • Related projects include IJG libjpeg, libjpeg-turbo, mozjpeg, jpeginfo, imageoptim-style GUI tools, and web image build pipelines.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
jpegoptimcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.5.6
manager updated
local dataok
upstreamcurrent
latest detectedv1.5.6

https://github.com/tjko/jpegoptim

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:jpegoptim
Version1.5.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/jpegoptim
Homepagehttps://github.com/tjko/jpegoptim
Repositoryhttps://github.com/tjko/jpegoptim
Upstream docshttps://github.com/tjko/jpegoptim#readme
LicenseGPL-3.0-or-later
Source archivehttps://github.com/tjko/jpegoptim/archive/refs/tags/v1.5.6.tar.gz
Dependenciesjpeg-turbo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namejpegoptim
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

jpegoptim 1.4.7-1

utility to optimize jpeg files

http://www.kokkonen.net/tjko/projects.html

sudo apt install jpegoptim
  • Section: graphics
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Jpegoptim
Debian stable package indexes · deb.debian.org · Debian stable package indexes: jpegoptim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

jpegoptim

nix profile install nixpkgs#jpegoptim
  • normalized package name match
  • Matched by: Jpegoptim
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/jp/jpegoptim/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

jpegoptim 1.4.7-1

utility to optimize jpeg files

http://www.kokkonen.net/tjko/projects.html

sudo apt install jpegoptim
  • Section: universe/graphics
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Jpegoptim
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: jpegoptim from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

jpegoptim 1.5.6-r0

JPEG optimization utility

https://github.com/tjko/jpegoptim

sudo apk add jpegoptim
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: jpegoptim
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Jpegoptim
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jpegoptim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

jpegoptim-doc 1.5.6-r0

JPEG optimization utility (documentation)

https://github.com/tjko/jpegoptim

sudo apk add jpegoptim-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: jpegoptim
  • normalized package name match
  • Matched by: Jpegoptim
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jpegoptim-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

jpegoptim 1.5.6-2.fc44

Utility to optimize JPEG files

http://www.kokkonen.net/tjko/projects.html

sudo dnf install jpegoptim
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: jpegoptim
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Jpegoptim
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: jpegoptim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

jpegoptim 1.5.6-1

Jpeg optimisation utility

https://github.com/tjko/jpegoptim

sudo pacman -S jpegoptim
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Jpegoptim
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: jpegoptim from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

jpegoptim 1.5.6-1.3

Utility for Optimizing JPEG Files

https://www.kokkonen.net/tjko/projects.html

sudo zypper install jpegoptim
  • License: GPL-2.0-or-later
  • Category: Productivity/Graphics/Other
  • Architecture: x86_64
  • Source Package: jpegoptim
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Jpegoptim
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: jpegoptim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

jpegoptim

sudo port install jpegoptim
  • normalized package name match
  • Matched by: Jpegoptim
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/jpegoptim/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/jpegoptim

scoop install main/jpegoptim
  • normalized package name match
  • Matched by: Jpegoptim
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/jpegoptim.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

TimoKokkonen.Jpegoptim

winget install --id TimoKokkonen.Jpegoptim -e
  • normalized package name match
  • Matched by: Jpegoptim
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: TimoKokkonen.Jpegoptim from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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