macOS
brew install imageoptim-clilocal Homebrew formula metadata
brew
CLI for ImageOptim, ImageAlpha and JPEGmini. Version 3.1.9 via Homebrew; verified from local package data.
install
brew install imageoptim-clilocal Homebrew formula metadata
overview
CLI for ImageOptim, ImageAlpha and JPEGmini
history
ImageOptim-CLI is a macOS-focused command-line wrapper around ImageOptim, ImageAlpha, and JPEGmini. It exists to make GUI-first image optimizers usable from shell scripts, build steps, and package-managed developer environments.
Jamie Mason published ImageOptim-CLI to npm in 2013, with the project changelog showing the 1.0.0 line on 2013-05-17. The README frames the package as automation for ImageOptim, ImageAlpha, and JPEGmini, and explains that the CLI depends on those applications rather than bundling them.
The project evolved from a JavaScript-era package into a TypeScript and AppleScript tool distributed as a self-contained executable. Version 2.0.0 in 2018 rewrote the core in Node.js, and the 3.x line tightened macOS app detection, temporary directory handling, Node runtime support, and JPEGmini compatibility.
ImageOptim-CLI spread through npm and Homebrew because it filled a practical gap for front-end build pipelines on Macs: ImageOptim and related apps had strong compression results but were awkward to use unattended. The README also points to a companion Grunt plugin, an Alfred workflow, and a tool-comparison page that positioned the CLI in the web-performance tooling ecosystem.
Homebrew packages the tool as `imageoptim-cli`, while npm remains an upstream distribution channel. Homebrew analytics show a small but persistent install base, which fits its niche as a Mac-only automation bridge rather than a general cross-platform optimizer.
The `imageoptim` executable accepts file patterns and flags for enabling ImageAlpha or JPEGmini, disabling ImageOptim, controlling stats output, and selecting compression settings such as ImageAlpha color count and quality range. Its typical use is batch optimization from a terminal or build script.
Because JPEGmini automation simulates a GUI user, the README documents macOS accessibility permissions for that path. The package therefore sits in the unusual intersection of CLI automation, AppleScript, and GUI image applications.
For package-manager users, ImageOptim-CLI is notable because it packages a workflow rather than a codec: the value is coordinating several native Mac apps behind one repeatable command. It is also a good example of Homebrew carrying a Node-derived binary for a workflow that only makes sense on macOS.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
imageoptim | cli | global executable |
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.
https://github.com/JamieMason/ImageOptim-CLI
install metadata
| Package key | brew:imageoptim-cli |
|---|---|
| Version | 3.1.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/imageoptim-cli |
| Homepage | https://jamiemason.github.io/ImageOptim-CLI/ |
| Repository | https://github.com/JamieMason/ImageOptim-CLI |
| Upstream docs | https://github.com/JamieMason/ImageOptim-CLI#readme |
| License | MIT |
| Source archive | https://github.com/JamieMason/ImageOptim-CLI/archive/refs/tags/3.1.9.tar.gz |
| Dependencies | node |
| Build dependencies | yarn |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | imageoptim-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.