# Installer ctpv avec Homebrew, MacPorts, Nix

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

## installation

```sh
sudo av install brew:ctpv
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ctpv
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ctpv
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ctpv
```

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

## Faits du paquet

- **Clé du paquet:** brew:ctpv
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.1
- **Résumé source:** Image previews for lf file manager
- **Page d'accueil:** <https://www.nikitaivanov.com/man1/ctpv>
- **Dépôt:** <https://github.com/NikitaIvanovV/ctpv>
- **Dernière mise à jour:** 2026-06-15T10:20:14-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- ctpv (alias)
- ctpvclear (alias)
- ctpvquit (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

ctpv is a terminal file previewer written with lf file-manager integration in mind. It previews text, archives, PDFs, images, videos, and other file types by selecting from installed helper programs.

### Historique du projet

The README describes ctpv as a C remake of stpv. The author liked stpv's behavior but found its POSIX-shell implementation sluggish, so ctpv was written in C as a faster version with additional features.

Official GitHub releases show v1.0 in July 2022 and v1.1 in March 2023. The project documentation now includes both README integration examples and a generated CTPV(1) manual page.

### Historique d'adoption

The README documents package-manager paths for AUR, MacPorts, Homebrew, Nix, and Gentoo overlay users, along with source builds. Its NixOS/Home Manager example shows ctpv being packaged as part of declarative terminal-file-manager configuration.

### Modes d'utilisation

ctpv is usually configured as lf's previewer and cleaner, with ctpv, ctpvclear, and ctpvquit coordinating preview output and lifecycle. Image previews can use Ueberzug, Chafa, or Kitty terminal support, while other previews delegate to common tools such as bat, jq, poppler, ffmpegthumbnailer, and atool.

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

ctpv is package-manager-friendly because most of its functionality is integration glue over existing Unix tools. A package can ship the core C binary and manpage, while optional preview capabilities naturally expand as the user's system has more helper programs installed.

### Chronologie

- 2022: v1.0 release published.
- 2023: v1.1 release published.
- 2023: Documentation noted Wayland/sixel guidance for lf image previews.

### Related projects

- ctpv is related to lf, stpv, Ueberzug, Chafa, Kitty, and the many small Unix preview helpers it can dispatch.

### Sources

- <https://github.com/NikitaIvanovV/ctpv#readme>
- <https://www.nikitaivanov.com/man1/ctpv>
- <https://api.github.com/repos/NikitaIvanovV/ctpv/releases?per_page=20>


## 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: $XDG_CONFIG_HOME/ctpv/config, ~/.config/ctpv/config
## Autres enregistrements de gestionnaires de paquets

- Nix - ctpv: normalized package name match | nixpkgs package indexes: pkgs/by-name/ct/ctpv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - ctpv: normalized package name match | MacPorts ports tree: graphics/ctpv/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/ctpv.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ctpv.yml)


## Sources

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