# 使用 Homebrew, MacPorts, Nix, pacman 安装 binocle

查看 binocle 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:binocle
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install binocle
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install binocle
```

  证据: MacPorts ports tree: sysutils/binocle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#binocle
```

  证据: nixpkgs package indexes: pkgs/by-name/bi/binocle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S binocle
```

  证据: Arch Linux sync databases: binocle from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:binocle
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/binocle>
- **版本:** 0.3.2
- **来源摘要:** Graphical tool to visualize binary data
- **主页:** <https://github.com/sharkdp/binocle>
- **仓库:** <https://github.com/sharkdp/binocle>
- **上游文档:** <https://github.com/sharkdp/binocle#readme>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/sharkdp/binocle/archive/refs/tags/v0.3.2.tar.gz>
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- binocle (cli)
- binocle (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 0.3.2
- 本地数据: OK
- 上游仓库: https://github.com/sharkdp/binocle
- 检测到的最新版本: v0.3.2 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

binocle is a graphical binary-data visualizer that maps bytes to pixels so users can spot structure, image-like regions, and suspicious or interesting areas in large files.

### 项目历史

The sharkdp/binocle repository was created in September 2021, with v0.1.0 released in October 2021. Its README explains the central idea: colorize bytes by rule and render them in a rectangular grid with controls for offset, stride, width, and colorization mode.

The README includes examples for ELF binaries, memory dumps, Doom assets, and perf samples, and explicitly lists related visual binary-analysis projects.

### 采用历史

binocle is packaged beyond Cargo: the supplied package facts list Homebrew, MacPorts, Nix, and Arch, and the README documents release binaries, a Debian package, Arch installation, and cargo install.

### 使用方式

Users open a file in the GUI, adjust offset, stride, grid width, and colorization parameters, and visually inspect regions that would be tedious to interpret from a plain hex dump.

### 为什么软件包爱好者会关心

binocle is interesting because it packages binary archaeology as a visual workflow. It does not replace readelf or objdump; it helps decide where to look before switching to lower-level tools.

### 时间线

- 2021: GitHub repository is created.
- 2021: v0.1.0 release and crates.io publication.
- 2023: v0.3.2 release.

### Related projects

- The README lists related work including binvis.io, cantor.dust, veles, and hobbits, alongside academic work on visual binary fragment types.

### 来源

- GitHub API reports repository creation and releases.
- GitHub README documents purpose, operation model, installation, examples, and related work.
- crates.io API reports crate publication and latest crate version.
- input.source_facts.package-manager lists package-manager availability.


## 安全说明

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:** binocle
- **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 - binocle: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/binocle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - binocle - 0.3.2-3: normalized package name match | Arch Linux sync databases: binocle from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A graphical tool to visualize binary data | https://github.com/sharkdp/binocle
- MacPorts - binocle: normalized package name match | MacPorts ports tree: sysutils/binocle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [cargo-depgraph](https://www.automicvault.com/zh-hans/pkg/brew/cargo-depgraph/) - Shares av.db curated category or tags: cli, developer-tools, visualization.
- [chronograf](https://www.automicvault.com/zh-hans/pkg/brew/chronograf/) - Shares av.db curated category or tags: cli, developer-tools, visualization.
- [codevis](https://www.automicvault.com/zh-hans/pkg/brew/codevis/) - Shares av.db curated category or tags: cli, developer-tools, visualization.
- [d2](https://www.automicvault.com/zh-hans/pkg/brew/d2/) - Shares av.db curated category or tags: cli, developer-tools, visualization.
- [dockerfilegraph](https://www.automicvault.com/zh-hans/pkg/brew/dockerfilegraph/) - Shares av.db curated category or tags: cli, developer-tools, visualization.
- [dockviz](https://www.automicvault.com/zh-hans/pkg/brew/dockviz/) - Shares av.db curated category or tags: cli, developer-tools, visualization.
- [flamegraph](https://www.automicvault.com/zh-hans/pkg/brew/flamegraph/) - Shares av.db curated category or tags: cli, developer-tools, visualization.
- [gcviewer](https://www.automicvault.com/zh-hans/pkg/brew/gcviewer/) - Shares av.db curated category or tags: cli, developer-tools, visualization.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
