# codesnap を Homebrew, Nix, pacman, scoop でインストール

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

## インストール

```sh
sudo av install brew:codesnap
```

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

### macOS

- Homebrew (100%):

```sh
brew install codesnap
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#codesnap
```

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

- pacman (92%):

```sh
sudo pacman -S codesnap
```

  証拠: Arch Linux sync databases: codesnap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install extras/codesnap
```

  証拠: Scoop official bucket manifest trees: bucket/codesnap.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:codesnap
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/codesnap>
- **バージョン:** 0.13.4
- **ソース概要:** Generates code snapshots in various formats
- **ホームページ:** <https://codesnap-docs.netlify.app/>
- **リポジトリ:** <https://github.com/codesnap-rs/codesnap>
- **上流ドキュメント:** <https://codesnap-docs.netlify.app/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/codesnap-rs/codesnap/archive/refs/tags/v0.13.4.tar.gz>
- **最終更新:** 2026-06-15T10:20:13-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- pkgconf
- rust

## インストール挙動

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

## バージョンと鮮度

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

CodeSnap is a Rust command-line tool and library for rendering code snippets into visual snapshots such as PNG, SVG, HTML, and text-style outputs.

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

The project README describes CodeSnap as a pure Rust renderer that generates snapshots through a graphics engine rather than network or browser-based rendering. It provides both a CLI and a Rust library API.

### 採用の歴史

Distribution has spread through Rust and system package channels: the README documents Cargo installation, precompiled binary installation, Homebrew, Nix/NixOS, and Arch Linux packaging, while source_facts also lists Scoop packaging.

### 使われ方

Users run codesnap against a source file to generate an output image or use the Rust library builder API inside another project. The tool supports themes, line numbers, watermarks, backgrounds, scaling, breadcrumbs, clipboard integration, and multiple output formats.

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

For package-manager users, CodeSnap is a compact example of a modern Rust CLI that turns a social or documentation task into a local, reproducible binary. Its significance is strongest in the cross-packaging story: Cargo, Homebrew, Nix, Arch, and Scoop all make it reachable without a web app.

### タイムライン

- 2020s: Project develops as a Rust CLI and library for code snapshots.
- 2020s: README documents Cargo, Arch Linux, Nix/NixOS, and Homebrew installation paths.
- 2026: Homebrew formula distributes CodeSnap 0.13.4.

### Related projects

- Related projects include syntect for syntax highlighting, Sublime Text syntax definitions and themes, Rust Cargo packaging, and web/editor tools that create code images for documentation or social sharing.

### ソース

- <https://github.com/codesnap-rs/codesnap>
- <https://codesnap-docs.netlify.app/>
- <https://formulae.brew.sh/api/formula/codesnap.json>


## セキュリティノート

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:** codesnap
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - codesnap: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/codesnap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - codesnap - 0.13.4-1: normalized package name match | Arch Linux sync databases: codesnap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Pure Rust tool for generating beautiful code snapshots | https://github.com/codesnap-rs/codesnap
- Scoop - extras/codesnap: normalized package name match | Scoop official bucket manifest trees: bucket/codesnap.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## 関連リンク

- [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.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [codevis](https://pkg.so/ja/brew/codevis/) - Shares pkgdb curated category or tags: cli, developer-tools, image-generation, rust, syntax-highlighting.
- [pygments](https://pkg.so/ja/brew/pygments/) - Shares pkgdb curated category or tags: cli, developer-tools, library, syntax-highlighting.
- [tailspin](https://pkg.so/ja/brew/tailspin/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, syntax-highlighting.
- [silicon](https://pkg.so/ja/brew/silicon/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, syntax-highlighting.
- [gitoxide](https://pkg.so/ja/brew/gitoxide/) - Shares pkgdb curated category or tags: cli, developer-tools, library, rust.
- [zsh-patina](https://pkg.so/ja/brew/zsh-patina/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, syntax-highlighting.
- [skylighting](https://pkg.so/ja/brew/skylighting/) - Shares pkgdb curated category or tags: cli, developer-tools, library, syntax-highlighting.
- [glib](https://pkg.so/ja/brew/glib/) - Shares pkgdb curated category or tags: cli, developer-tools, library.

## Combined YAML source

View the package source record on GitHub. [combined/codesnap.yml](https://github.com/mxcl/pkgdb/blob/main/combined/codesnap.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
