# 使用 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
- **版本:** 0.3.2
- **来源摘要:** Graphical tool to visualize binary data
- **主页:** <https://github.com/sharkdp/binocle>
- **仓库:** <https://github.com/sharkdp/binocle>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- binocle (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.3.2
## 项目历史与用法

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

## 其他软件包管理器记录

- 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


## Combined YAML source

View the package source record on GitHub. [combined/binocle.yml](https://github.com/mxcl/pkgdb/blob/main/combined/binocle.yml)


## 来源

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