# Install caire with Homebrew

Content aware image resize tool. Version 1.5.0 via Homebrew; verified 2026-07-27.

## Install

```sh
sudo av install brew:caire
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install caire
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:caire
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/caire>
- **Version:** 1.5.0
- **Source summary:** Content aware image resize tool
- **Homepage:** <https://github.com/esimov/caire>
- **Repository:** <https://github.com/esimov/caire>
- **License:** MIT
- **Source archive:** <https://github.com/esimov/caire/archive/refs/tags/v1.5.0.tar.gz>
- **Last updated:** 2026-07-27T19:20:55+02:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- caire (cli)
- caire (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.5.0
- Package-manager updated: 2026-07-27
- Local data: ok
- Upstream repository: https://github.com/esimov/caire
- Upstream latest detected: v1.5.0 (current)
## Project history and usage

Caire is a Go content-aware image resizing tool and library based on seam carving, with command-line, batch, mask, face-detection, and preview features.

### Project history

The public repository was created in January 2018. The README defines Caire as a content-aware image resize library based on the Seam Carving for Content-Aware Image Resizing paper and documents the algorithmic flow: energy-map generation, dynamic-programming seam selection, and repeated seam removal.

Caire grew beyond a minimal seam-carving demo into a CLI-oriented package with shrinking and enlarging, horizontal and vertical resizing, face detection through the author's Pigo library, stdin/stdout support, recursive concurrent directory processing, protective and removal masks, multiple image formats, and a GUI preview mode.

### Adoption history

Caire achieved broad visibility for a single-purpose media CLI: the GitHub project has far more stars than most Homebrew image utilities in this batch, and the README documents installation by go install and Homebrew. The project also advertises Snap and OpenFaaS integrations.

### How it is used

Users resize images with caire -in input.jpg -out output.jpg, optionally setting width, height, percentage, square output, masks, blur and Sobel thresholds, debug seam visualization, face protection, or directory input. It can also work in Unix pipelines by reading from stdin and writing to stdout.

### Why package nerds care

Caire is interesting because it packages a visually demonstrable computer-vision algorithm as a simple Go binary. For package managers it is the kind of niche CLI that proves image-processing research can become a one-command install.

### Timeline

- 2018: Public Caire repository created.
- 2021: 1.4.0 release published.
- 2023: 1.4.6 release published.
- 2025: 1.5.0 release published.

### Related projects

- The README names the original seam-carving paper as the algorithmic basis.
- Pigo, another project by the same author, is used for face detection to avoid face deformation.
- The README links Caire integrations for OpenFaaS and Snap.

### Sources

- <https://api.github.com/repos/esimov/caire>
- <https://api.github.com/repos/esimov/caire/releases>
- <https://github.com/esimov/caire#readme>


## 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:** caire
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://pkg.so/brew/go/) - Build dependency declared by Homebrew.
- [giflib](https://pkg.so/brew/giflib/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [leptonica](https://pkg.so/brew/leptonica/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [netpbm](https://pkg.so/brew/netpbm/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [epsilon](https://pkg.so/brew/epsilon/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [gifsicle](https://pkg.so/brew/gifsicle/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [openimageio](https://pkg.so/brew/openimageio/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [nip4](https://pkg.so/brew/nip4/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [apngasm](https://pkg.so/brew/apngasm/) - Shares pkgdb curated category or tags: cli, image-processing, media.
- [dipc](https://pkg.so/brew/dipc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, media, processing.
- [faceprints](https://pkg.so/brew/faceprints/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, media, processing.

## Combined YAML source

View the package source record on GitHub. [combined/caire.yml](https://github.com/mxcl/pkgdb/blob/main/combined/caire.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
