# Install bingrep with Homebrew, MacPorts, Nix, pacman

Greps through binaries from various OSs and architectures. Version 0.12.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:bingrep
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install bingrep
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bingrep
```

  Evidence: MacPorts ports tree: textproc/bingrep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bingrep
```

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

- pacman (92%):

```sh
sudo pacman -S bingrep
```

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

## Package facts

- **Package key:** brew:bingrep
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/bingrep>
- **Version:** 0.12.1
- **Source summary:** Greps through binaries from various OSs and architectures
- **Homepage:** <https://github.com/m4b/bingrep>
- **Repository:** <https://github.com/m4b/bingrep>
- **Upstream docs:** <https://github.com/m4b/bingrep#readme>
- **License:** MIT
- **Source archive:** <https://github.com/m4b/bingrep/archive/refs/tags/v0.12.1.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- bingrep (cli)
- bingrep (alias)

## Build dependencies

- rust

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.12.1
- Local data: ok
- Upstream repository: https://github.com/m4b/bingrep
- Upstream latest detected: v0.12.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

bingrep is a Rust command-line viewer for inspecting executable and archive formats with colored, grep-like output aimed at quick binary analysis.

### Project history

The GitHub repository was created in February 2017, and the crate first appeared on crates.io in July 2017. The README says the tool grew from a personal binary-inspection workflow and was uploaded after the author had been sharing screenshots of binary data.

Its README lists support for ELF, Mach-O, Unix/BSD archives, and debug-only PE parsing, with goblin as the backend responsible for loading and parsing binary formats.

### Adoption history

bingrep stayed small but packaged: the supplied package facts list Homebrew, MacPorts, Nix, and Arch packages, while crates.io provides the Rust-native cargo install path.

### How it is used

Common use is `bingrep /bin/ls` to view binary metadata, with options for debug output, symbol demangling, experimental hextable output, ranges, and ELF string searching.

### Why package nerds care

Package nerds care about bingrep as a lightweight alternative view over the same artifact formats handled by objdump, nm, readelf, and file. It is less foundational than GNU Binutils, but useful when the job is visual triage of sections, headers, offsets, and symbols.

### Timeline

- 2017: GitHub repository is created.
- 2017: 0.1.0 is published to crates.io.
- 2026: 0.12.1 is published to crates.io.

### Related projects

- bingrep is closely related to m4b/goblin, its binary parsing backend. It sits in the same working niche as readelf, objdump, nm, strings, and newer Rust binary-inspection tools.

### Sources

- GitHub API reports repository creation in 2017.
- GitHub README documents origins, supported formats, examples, and goblin relationship.
- crates.io API reports crate publication and release chronology.
- 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:** bingrep
- **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

## Other Package-Manager Records

- Nix - bingrep: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/bingrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - bingrep - 0.12.1-2: normalized package name match | Arch Linux sync databases: bingrep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Cross-platform binary parser and colorizer | https://github.com/m4b/bingrep
- MacPorts - bingrep: normalized package name match | MacPorts ports tree: textproc/bingrep/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.
- [abi-dumper](https://www.automicvault.com/pkg/brew/abi-dumper/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [ack](https://www.automicvault.com/pkg/brew/ack/) - Shares av.db curated category or tags: cli, developer-tools, grep.
- [bgrep](https://www.automicvault.com/pkg/brew/bgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep.
- [binsider](https://www.automicvault.com/pkg/brew/binsider/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [capstone](https://www.automicvault.com/pkg/brew/capstone/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [cgrep](https://www.automicvault.com/pkg/brew/cgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep.
- [cgvg](https://www.automicvault.com/pkg/brew/cgvg/) - Shares av.db curated category or tags: cli, developer-tools, grep.
- [dwarf](https://www.automicvault.com/pkg/brew/dwarf/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [elfx86exts](https://www.automicvault.com/pkg/brew/elfx86exts/) - Local package facts share a topical domain. Shared terms: analysis, binaries, binary, binary-analysis, cli.

## Combined YAML source

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