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

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bingrep
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bingrep
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:bingrep
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bingrep>
- **版本:** 0.12.1
- **来源摘要:** Greps through binaries from various OSs and architectures
- **主页:** <https://github.com/m4b/bingrep>
- **仓库:** <https://github.com/m4b/bingrep>
- **上游文档:** <https://github.com/m4b/bingrep#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/m4b/bingrep/archive/refs/tags/v0.12.1.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- bingrep (cli)
- bingrep (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

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

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

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

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

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

- 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


## 相关链接

- [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.
- [abi-dumper](https://www.automicvault.com/zh-hans/pkg/brew/abi-dumper/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [ack](https://www.automicvault.com/zh-hans/pkg/brew/ack/) - Shares av.db curated category or tags: cli, developer-tools, grep.
- [bgrep](https://www.automicvault.com/zh-hans/pkg/brew/bgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep.
- [binsider](https://www.automicvault.com/zh-hans/pkg/brew/binsider/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [capstone](https://www.automicvault.com/zh-hans/pkg/brew/capstone/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [cgrep](https://www.automicvault.com/zh-hans/pkg/brew/cgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep.
- [cgvg](https://www.automicvault.com/zh-hans/pkg/brew/cgvg/) - Shares av.db curated category or tags: cli, developer-tools, grep.
- [dwarf](https://www.automicvault.com/zh-hans/pkg/brew/dwarf/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [elfx86exts](https://www.automicvault.com/zh-hans/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)


## 来源

- 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
