# 使用 Homebrew 安装 lsusb

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

## 安装

```sh
sudo av install brew:lsusb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lsusb
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:lsusb
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lsusb>
- **版本:** 1.0
- **来源摘要:** List USB devices, just like the Linux lsusb command
- **主页:** <https://github.com/jlhonora/lsusb>
- **仓库:** <https://github.com/jlhonora/lsusb>
- **许可证:** MIT
- **源码归档:** <https://github.com/jlhonora/lsusb/releases/download/1.0/lsusb-1.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- lsusb (cli)
- lsusb (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0
- 本地数据: OK
- 上游仓库: https://github.com/jlhonora/lsusb
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

jlhonora/lsusb is a Mac OS X shell utility that makes Apple's USB hardware report look and feel like Linux's `lsusb` command.

### 项目历史

The project began as a small portability tool for Mac users who wanted the familiar Linux `lsusb` command. Its README explains that it uses `system_profiler SPUSBDataType`, with `lsusb -v` exposing the unmodified Apple command output, and its release history shows early 0.1 and 0.2 releases followed by a 1.0 'Full-featured version'.

### 采用历史

Official GitHub signals show a compact but widely noticed utility: 50 commits, about 391 stars, 54 forks, and three releases. The 1.0 release notes say the project incorporated outside contributions and included almost every feature from Linux usbutils 007, which helps explain why it became the original macOS `lsusb` package in Homebrew and other package histories.

### 使用方式

The README documents direct command-line use, manual installation into a PATH directory, and Homebrew installation through the original tap. Options include verbosity, vendor/product filtering, tree output, version display, and help, with the bundled man page recommended for the most accurate usage description.

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

This is the classic example of a package-manager portability shim: a tiny command with a Linux name that normalizes muscle memory across macOS and Linux. Package nerds care because it demonstrates how Homebrew and taps often filled gaps where macOS had native data but lacked the Unix command surface users expected.

### 时间线

- 2010s: Version 0.1 is released as a basic working macOS lsusb clone.
- 2010s: Version 0.2 adds man-page and script-style improvements from contributors.
- 2010s: Version 1.0 is released as a full-featured version with broad parity against Linux usbutils 007.

### Related projects

- Linux usbutils is the reference implementation whose `lsusb` behavior inspired the project.
- LanikSJ/lsusb is a maintained fork distributed in Homebrew as `lsusb-laniksj`.
- Apple `system_profiler SPUSBDataType` supplies the underlying USB information on macOS.

### 来源

- <https://github.com/jlhonora/lsusb>
- <https://github.com/jlhonora/lsusb/releases>
- source_facts.package-manager
- source_facts.repo


## 安全说明

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:** lsusb
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** lsusb-laniksj, usbutils
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [libusb-compat](https://pkg.so/zh-hans/brew/libusb-compat/) - Shares pkgdb curated category or tags: cli, hardware, system, usb.
- [cyme](https://pkg.so/zh-hans/brew/cyme/) - Shares pkgdb curated category or tags: cli, hardware, system, usb.
- [rkflashtool](https://pkg.so/zh-hans/brew/rkflashtool/) - Shares pkgdb curated category or tags: cli, hardware, system, usb.
- [nvtop](https://pkg.so/zh-hans/brew/nvtop/) - Shares pkgdb curated category or tags: cli, hardware, system.
- [liquidctl](https://pkg.so/zh-hans/brew/liquidctl/) - Shares pkgdb curated category or tags: cli, hardware, system.
- [libgusb](https://pkg.so/zh-hans/brew/libgusb/) - Shares pkgdb curated category or tags: cli, system, usb.
- [libevdev](https://pkg.so/zh-hans/brew/libevdev/) - Shares pkgdb curated category or tags: cli, hardware, system.
- [pciutils](https://pkg.so/zh-hans/brew/pciutils/) - Shares pkgdb curated category or tags: cli, hardware, system.
- [node-hid](https://pkg.so/zh-hans/npm/node-hid/) - Local package facts share a topical domain. Shared terms: cli, hardware, system, usb.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
