# Installer spaceman-diff avec Homebrew

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

## installation

```sh
sudo av install brew:spaceman-diff
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install spaceman-diff
```

  Preuve: local Homebrew formula metadata

## Faits du paquet

- **Clé du paquet:** brew:spaceman-diff
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.0.3
- **Résumé source:** Diff images from the command-line
- **Page d'accueil:** <https://github.com/holman/spaceman-diff>
- **Dépôt:** <https://github.com/holman/spaceman-diff>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- spaceman-diff (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.0.3
## Historique du projet et usages

spaceman-diff is a small shell-oriented image diff helper that plugs into Git diff. It renders changed images as colorful ASCII approximations in the terminal and reports practical metadata such as file-size changes.

### Historique du projet

The official README describes spaceman-diff as a quick drop-in to `git-diff` for image files. It was cobbled together by Zach Holman and depends on jp2a and ImageMagick to convert image content into terminal-friendly output.

The project is intentionally narrow: it handles changed images passed through Git's diff driver mechanism and documents that simple additions or removals are not rendered because Git does not pass those cases to the external diff command in the same way.

### Historique d'adoption

The README documents Homebrew installation, which made the tool easy to try for macOS developers already using Git from the terminal. Its adoption is best understood as a niche Git workflow helper rather than a general-purpose image comparison application.

### Modes d'utilisation

Users install jp2a and ImageMagick, install the `spaceman-diff` script, add image patterns to `~/.config/git/attributes`, and configure a custom Git diff driver in `~/.gitconfig`. After that, ordinary `git diff` invocations can display terminal previews for changed PNG, JPEG, and GIF files.

The README positions the tool as a quick verification aid: it helps a developer confirm that an image change is the intended one and that file size did not change unexpectedly.

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

spaceman-diff matters to package nerds because it is a classic tiny CLI wrapper around other packaged tools. Its usefulness depends on Git attributes, ImageMagick, jp2a, and the shell all lining up cleanly through a package manager.

It also shows why small formulas exist: a few lines of glue can turn a developer's normal `git diff` habit into a richer terminal workflow without adding a heavyweight GUI dependency.

### Chronologie

- 2014: README screenshot assets indicate early public project activity.
- 2019: README screenshot was updated to show terminal image-diff output.
- Current README: Documents Homebrew installation and Git diff-driver configuration.

### Related projects

- Git supplies the external diff-driver mechanism.
- jp2a converts JPEG images to ASCII for the terminal rendering path.
- ImageMagick handles image conversion tasks used by the script.

### Sources

- <https://github.com/holman/spaceman-diff#readme>
- source_facts.package-manager


## Notes de sécurité

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

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/git/attributes, ~/.gitconfig

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
