# Installer termshot avec Homebrew, MacPorts, Nix

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

## installation

```sh
sudo av install brew:termshot
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install termshot
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install termshot
```

  Preuve: MacPorts ports tree: graphics/termshot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#termshot
```

  Preuve: nixpkgs package indexes: pkgs/by-name/te/termshot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:termshot
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.6.1
- **Résumé source:** Creates screenshots based on terminal command output
- **Page d'accueil:** <https://github.com/homeport/termshot>
- **Dépôt:** <https://github.com/homeport/termshot>
- **Dernière mise à jour:** 2026-07-26T00:50:35+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- termshot (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

termshot is a Go command-line utility for turning terminal command output into PNG screenshots. Its project history sits in the same niche as carbon-style code-image generators and terminal documentation tools, but its README emphasizes preserving ANSI escape-code output from real commands rather than applying syntax highlighting to pasted text.

### Historique du projet

The repository was created in November 2020 and published its first GitHub release, v0.1.0, in December 2020. The README describes the tool as a terminal-native way to generate screenshots and documents a workflow where users prefix a command with `termshot`, similar to tools such as `time`, `watch`, or `perf`.

Later releases added package-friendly installation and capture controls rather than changing the basic purpose. Release notes show continued maintenance through v0.6.x, including raw read/write support, configurable screenshot margins and padding, decoration toggles, and Go dependency updates.

### Historique d'adoption

The official README documents Homebrew installation through the Homeport tap and prebuilt Darwin and Linux release binaries. In the input package facts, termshot also appears in Brew, MacPorts, and Nix, which is typical adoption for a small terminal utility useful to developers who generate README images, release notes, or reproducible CLI screenshots.

### Modes d'utilisation

Typical usage is `termshot <command>`, which runs the command in a pseudo terminal and writes `out.png` by default. The README documents flags for output file selection, clipboard output on supported platforms, editing captured output before rendering, showing or hiding command/window decoration, fixed column width, raw capture, and reading raw terminal output back into an image.

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

For package-maintainer and terminal-tool users, termshot is useful because it makes command output into a distributable artifact without requiring a GUI terminal screenshot workflow. It is especially relevant for Homebrew/Nix-style CLI culture where maintainers often want small, reproducible images for READMEs, changelogs, and examples.

### Chronologie

- 2020: GitHub repository created.
- 2020: v0.1.0 published as the first GitHub release.
- 2024: v0.3.0 added README documentation and screenshot layout controls such as fixed columns and decoration/shadow toggles.
- 2025: v0.5.0 added raw read/write flags.
- 2026: v0.6.1 continued maintenance with dependency updates and configurable margin/padding work.

### Related projects

- The README explicitly positions termshot near web-based screenshot tools such as carbon.now.sh and codekeep.io/screenshot, but distinguishes it by reading ANSI escape-code rich text from command output.
- It overlaps with terminal recording and sharing tools such as termsvg and asciinema, but produces static PNG screenshots rather than terminal session recordings.

### Sources

- <https://api.github.com/repos/homeport/termshot>
- <https://api.github.com/repos/homeport/termshot/releases?per_page=100>
- <https://github.com/homeport/termshot>
- <https://raw.githubusercontent.com/homeport/termshot/main/README.md>
- source_facts.package-manager


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - termshot: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/termshot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - termshot: normalized package name match | MacPorts ports tree: graphics/termshot/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
