oschrenk/usbi

★ 0Forks 0GoGitHub ↗Compare

README

usbi

USB information tool for macOS. Parses system_profiler output into a readable tree view with speed, power, and health diagnostics.

Inspired by kau.sh/blog/usbi.

Install

go install github.com/oschrenk/usbi@latest

Or build from source:

task install

Usage

usbi              # default view with categories, vendors, and health indicators
usbi --speed      # speed-focused view with color-coded USB standards
usbi --power      # power-focused view with usage warnings
usbi --problems   # show only devices with issues
usbi --location   # show location info
usbi --summary    # device counts and totals
usbi --raw        # raw system_profiler output
usbi --no-color   # disable colored output

Compatibility

  • macOS 15 (Sequoia) and earlier: uses SPUSBDataType
  • macOS 26 (Tahoe) and later: uses SPUSBHostDataType

Contributors

oschrenk

Issues