# 使用 Homebrew 安装 lsusb

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lsusb
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:lsusb
- **软件包管理器:** Homebrew
- **版本:** 1.0
- **来源摘要:** List USB devices, just like the Linux lsusb command
- **主页:** <https://github.com/jlhonora/lsusb>
- **仓库:** <https://github.com/jlhonora/lsusb>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- lsusb (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
