# ctpv を Homebrew, MacPorts, Nix でインストール

ctpv のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ctpv
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ctpv
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:ctpv
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ctpv>
- **バージョン:** 1.1
- **ソース概要:** Image previews for lf file manager
- **ホームページ:** <https://www.nikitaivanov.com/man1/ctpv>
- **リポジトリ:** <https://github.com/NikitaIvanovV/ctpv>
- **上流ドキュメント:** <https://github.com/NikitaIvanovV/ctpv#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/NikitaIvanovV/ctpv/archive/refs/tags/v1.1.tar.gz>
- **最終更新:** 2026-06-15T10:20:14-04:00
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- ctpv (cli)
- ctpvclear (cli)
- ctpvquit (cli)
- ctpv (エイリアス)
- ctpvclear (エイリアス)
- ctpvquit (エイリアス)

## 依存関係

- libmagic
- openssl@4

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.1
- マネージャ更新日: 2026-06-15
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/NikitaIvanovV/ctpv
- 検出された最新: v1.1 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- 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
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/ja/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [openssl@4](https://www.automicvault.com/ja/pkg/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [far2l-tty](https://www.automicvault.com/ja/pkg/brew/far2l-tty/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [fdclone](https://www.automicvault.com/ja/pkg/brew/fdclone/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [lf](https://www.automicvault.com/ja/pkg/brew/lf/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [midnight-commander](https://www.automicvault.com/ja/pkg/brew/midnight-commander/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [nnn](https://www.automicvault.com/ja/pkg/brew/nnn/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [projectable](https://www.automicvault.com/ja/pkg/brew/projectable/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [superfile](https://www.automicvault.com/ja/pkg/brew/superfile/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.
- [vim](https://www.automicvault.com/ja/pkg/brew/vim/) - Shares av.db curated category or tags: cli, file-management, file-manager, productivity, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/ctpv.yml](https://github.com/automic-vault/db/blob/main/combined/ctpv.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
