# Install binocle with Homebrew, MacPorts, Nix, pacman

Graphical tool to visualize binary data. Version 0.3.2 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install binocle
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install binocle
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:binocle
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/binocle>
- **Version:** 0.3.2
- **Source summary:** Graphical tool to visualize binary data
- **Homepage:** <https://github.com/sharkdp/binocle>
- **Repository:** <https://github.com/sharkdp/binocle>
- **Upstream docs:** <https://github.com/sharkdp/binocle#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/sharkdp/binocle/archive/refs/tags/v0.3.2.tar.gz>
- **Generated:** 2026-07-10T07:20:53+00:00

## Executables

- binocle (cli)
- binocle (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-10
- Package-manager version: 0.3.2
- Local data: ok
- Upstream repository: https://github.com/sharkdp/binocle
- Upstream latest detected: v0.3.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
