# Installer imageoptim-cli avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de imageoptim-cli pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:imageoptim-cli
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install imageoptim-cli
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:imageoptim-cli
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/imageoptim-cli>
- **Version:** 4.0.0
- **Résumé source:** CLI for ImageOptim, ImageAlpha and JPEGmini
- **Page d'accueil:** <https://jamiemason.github.io/ImageOptim-CLI/>
- **Dépôt:** <https://github.com/JamieMason/ImageOptim-CLI>
- **Docs amont:** <https://jamiemason.github.io/ImageOptim-CLI/>
- **Licence:** MIT
- **Archive source:** <https://github.com/JamieMason/ImageOptim-CLI/archive/refs/tags/4.0.0.tar.gz>
- **Dernière mise à jour:** 2026-08-02T13:14:48Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- imageoptim (cli)
- imageoptim (alias)

## Dépendances de compilation

- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 4.0.0
- gestionnaire mis à jour: 2026-08-02
- données locales: OK
- dépôt amont: https://github.com/JamieMason/ImageOptim-CLI
- dernière version détectée: 4.0.0 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 2013: ImageOptim-CLI 1.0.0 published to npm.
- 2013: The project was covered as a batch compression tool for optimized web images.
- 2018: Version 2.0.0 rewrote the core in Node.js.
- 2019: Version 3.0.0 changed missing-app cases from warnings to errors.
- 2023: Version 3.1.9 added Node 18 support and dependency updates.

### Related projects

- ImageOptim-CLI automates ImageOptim, ImageAlpha, and JPEGmini, and its README names `grunt-imageoptim` and an Alfred workflow as related projects. It also compares itself with optimizer services and tools such as Kraken.io, CodeKit, grunt-contrib-imagemin, Smush.it, and TinyPNG.

### Sources

- <https://formulae.brew.sh/api/formula/imageoptim-cli.json>
- <https://github.com/JamieMason/ImageOptim-CLI>
- <https://raw.githubusercontent.com/JamieMason/ImageOptim-CLI/main/CHANGELOG.md>
- <https://raw.githubusercontent.com/JamieMason/ImageOptim-CLI/main/README.md>
- <https://registry.npmjs.org/imageoptim-cli>


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** imageoptim-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [media-control](https://pkg.so/fr/brew/media-control/) - Shares pkgdb curated category or tags: automation, cli, macos, media.
- [pngquant](https://pkg.so/fr/brew/pngquant/) - Shares pkgdb curated category or tags: cli, image-optimization, media.
- [gifsicle](https://pkg.so/fr/brew/gifsicle/) - Shares pkgdb curated category or tags: cli, image-optimization, media.
- [optipng](https://pkg.so/fr/brew/optipng/) - Shares pkgdb curated category or tags: cli, image-optimization, media.
- [oxipng](https://pkg.so/fr/brew/oxipng/) - Shares pkgdb curated category or tags: cli, image-optimization, media.
- [jpegoptim](https://pkg.so/fr/brew/jpegoptim/) - Shares pkgdb curated category or tags: cli, image-optimization, media.
- [pngpaste](https://pkg.so/fr/brew/pngpaste/) - Shares pkgdb curated category or tags: cli, macos, media.
- [imagesnap](https://pkg.so/fr/brew/imagesnap/) - Shares pkgdb curated category or tags: cli, macos, media.
- [caesiumclt](https://pkg.so/fr/brew/caesiumclt/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-optimization, media, optimization.
- [gifski](https://pkg.so/fr/brew/gifski/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-optimization, media, optimization.

## Combined YAML source

View the package source record on GitHub. [combined/imageoptim-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/imageoptim-cli.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
