# 使用 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
- **版本:** 0.12.1
- **来源摘要:** Greps through binaries from various OSs and architectures
- **主页:** <https://github.com/m4b/bingrep>
- **仓库:** <https://github.com/m4b/bingrep>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bingrep (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## Combined YAML source

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