Automic VaultAutomic Vault

brew

使用 Homebrew 安装 lsusb

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lsusb

local Homebrew formula metadata

概览

软件包摘要

List USB devices, just like the Linux lsusb command

命令和别名

  • lsusb

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lsusbcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/jlhonora/lsusb

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/jlhonora/lsusbnone 置信度

安装元数据

软件包元数据

软件包键brew:lsusb
版本1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lsusb
主页https://github.com/jlhonora/lsusb
仓库https://github.com/jlhonora/lsusb
上游文档https://github.com/jlhonora/lsusb#readme
许可证MIT
源码归档https://github.com/jlhonora/lsusb/releases/download/1.0/lsusb-1.0.tar.gz
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelsusb
Version Scheme0
Revision0
Conflicts With
  • lsusb-laniksj
  • usbutils
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment