# 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
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/termshot>
- **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>
- **Licence:** MIT
- **Archive source:** <https://github.com/homeport/termshot/archive/refs/tags/v0.6.1.tar.gz>
- **Dernière mise à jour:** 2026-07-26T00:50:35+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- termshot (cli)
- termshot (alias)

## Dépendances de compilation

- go

## Comportement d'installation

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

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.6.1
- gestionnaire mis à jour: 2026-07-26
- données locales: OK
- dépôt amont: https://github.com/homeport/termshot
- dernière version détectée: v0.6.1 (à jour)
## 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

## Détails de la base source

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

## 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


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [grc](https://pkg.so/fr/brew/grc/) - Shares pkgdb curated category or tags: cli, command-output, developer-tools, terminal.
- [spacer](https://pkg.so/fr/brew/spacer/) - Shares pkgdb curated category or tags: cli, command-output, developer-tools, terminal.
- [fzf](https://pkg.so/fr/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [neovim](https://pkg.so/fr/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [starship](https://pkg.so/fr/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [television](https://pkg.so/fr/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [oh-my-posh](https://pkg.so/fr/brew/oh-my-posh/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [glow](https://pkg.so/fr/brew/glow/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [diagram](https://pkg.so/fr/brew/diagram/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, generation, image.
- [codevis](https://pkg.so/fr/brew/codevis/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, generation, image.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
