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

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install termshot
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install termshot
```

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

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

## パッケージ情報

- **パッケージキー:** brew:termshot
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/termshot>
- **バージョン:** 0.6.1
- **ソース概要:** Creates screenshots based on terminal command output
- **ホームページ:** <https://github.com/homeport/termshot>
- **リポジトリ:** <https://github.com/homeport/termshot>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/homeport/termshot/archive/refs/tags/v0.6.1.tar.gz>
- **最終更新:** 2026-07-26T00:50:35+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- termshot (cli)
- termshot (エイリアス)

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.6.1
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/homeport/termshot
- 検出された最新: v0.6.1 (最新)
## プロジェクトの歴史と使われ方

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.

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

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.

### 採用の歴史

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.

### 使われ方

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.

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

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

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

- 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


## 関連リンク

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


## ソース

- 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
