brew install --cask image-optimizer- 30-day installs
- 18
- #1641 in App
- 1-year installs
- 18
- Last 365 days
- Latest version
- 2.1.0
- Download size
- 147MB
- dmg
- Release cadence
- Weekly
- 2 releases in 30 days
About
Tool to optimise images and vector graphics
At a glance
- System
- macOS 12 or later
- Chip
- Apple silicon · Intel
- Auto-updates
- Yes
- Repository
- Open source · MIT · Updated 24 days ago★938
- Homebrew
- Available; the app updates itself
- Also known as
- image-optimizer
- Homepage
- github.com/antonreshetov/image-optimizer
- Token
- image-optimizer
Checked
What’s new in 2.1.0
New · From GitHub Releases
Image Optimizer 2.1 — Now in Your Terminal
Image Optimizer now ships with imgopt, a command line tool that uses the same bundled optimizers as the app. Script your image pipeline, optimize a folder before a commit, or just stay in the terminal. No Node.js or extra installs needed.
Get the Command
- macOS: choose Image Optimizer → Install Command Line Tool… to add
imgoptto/. Move the app to Applications first.usr/ local/ bin - Windows: the installer adds
imgoptto your userPATH. Open a new terminal after installing.
The app doesn't need to be running for the command to work.
A Guided Mode for When You Don't Remember the Flags
Run imgopt on its own. It asks what to optimize, where the results should go, whether to convert to WebP, which quality to use, and whether to keep metadata. Before it starts, it prints the equivalent command so you can skip the questions next time.
imgopt # guided mode
imgopt ./images # writes to ./images/minified
imgopt photo.jpg --webp -s # writes minified/photo.min.webp
imgopt ./assets --in-place -y # replace originals without asking
imgopt ./images --json # machine-readable report
Safe by Default
- Replacing original files asks for confirmation in the terminal and requires
--yesin scripts and CI. - Clear exit codes:
1when any file fails,2on invalid arguments,130when you decline or cancel. - A progress bar in the terminal, and plain output when piped.
Also in This Release
- Default PNG quality is now 85 for new installs. Existing settings are kept.
Run imgopt --help for all options.
What's Changed
- feat(cli): add imgopt command line tool by @antonreshetov in https://github.com/antonreshetov/image-optimizer/pull/40
Full Changelog: https://github.com/antonreshetov/image-optimizer/compare/v2.0.2...v2.1.0
How to install Image Optimizer on Mac
Homebrew installs the app in your Applications folder.
Install without Homebrew
Download the file Homebrew uses for your chip: Install Details
Uninstall Image Optimizer and optional data cleanup
brew uninstall --cask image-optimizerA regular uninstall removes the app and keeps its settings and caches.
Deep clean (optional)
brew uninstall --zap --cask image-optimizer--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.
Questions about Image Optimizer
Is Image Optimizer safe?
Image Optimizer is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 18 times through Homebrew in the last 30 days.
Is Image Optimizer open source?
Image Optimizer’s source code is public on GitHub (antonreshetov/image-optimizer) under the MIT license.
How do I completely uninstall Image Optimizer on a Mac?
Run brew uninstall --cask image-optimizer. To delete its settings and caches as well, run brew uninstall --zap --cask image-optimizer. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes 3 files and folders, including ~/.
Does Image Optimizer run on Apple silicon (M1 and later) Macs?
Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs. It needs macOS 12 or later.
Where does Image Optimizer store its settings and data?
Its settings are in ~/. Its data is in ~/. These locations come from Homebrew’s clean-up list.
What is the latest version of Image Optimizer?
The latest version is 2.1.0, added to Homebrew on Nov 1, 2026. Image Optimizer updates itself; to update it with Homebrew, run brew upgrade --cask --greedy image-optimizer.
What else does installing Image Optimizer add?
It also adds 1 command-line tool: imgopt.