# Install usbtree with Homebrew, Nix, scoop

Live USB device tree in your terminal. Version 0.1.1 via Homebrew; verified 2026-09-13. Also installable with nix: nix profile install nixpkgs#usbtree.

## Install

```sh
sudo av install brew:usbtree
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install usbtree
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#usbtree
```

  Evidence: nixpkgs package indexes: pkgs/by-name/us/usbtree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/usbtree
```

  Evidence: Scoop official bucket manifest trees: bucket/usbtree.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:usbtree
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/usbtree>
- **Version:** 0.1.1
- **Source summary:** Live USB device tree in your terminal
- **Homepage:** <https://gnomeria.github.io/usbtree/>
- **Repository:** <https://github.com/gnomeria/usbtree>
- **Upstream docs:** <https://gnomeria.github.io/usbtree/>
- **License:** MIT
- **Source archive:** <https://github.com/gnomeria/usbtree/archive/refs/tags/v0.1.1.tar.gz>
- **Last updated:** 2026-09-13T16:18:32Z
- **Generated:** 2026-10-12T03:48:17+00:00

## Executables

- usbtree (cli)
- usbtree (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-10-12
- Package-manager version: 0.1.1
- Package-manager updated: 2026-09-13
- Local data: ok
- Upstream repository: https://github.com/gnomeria/usbtree
- Upstream latest detected: v0.1.1 (current)

## From the blog

- [dnsglobe: Watching DNS Propagation from the Terminal](https://pkg.so/blog/2026-08-08/dnsglobe-global-dns-propagation-in-the-terminal/)
## Project history and usage

usbtree is a cross-platform terminal UI for inspecting USB device topology, hot-plug events, identity data, and—on Linux—live activity metrics.

### Project history

gnomeria created usbtree as a cross-platform Rust terminal application for visualizing USB topology. The project uses nusb for enumeration and release-please plus automated builds for releases.

### Adoption history

usbtree is distributed as a single Rust binary through Homebrew, official shell and PowerShell installers, release archives, and Cargo source installation. Its cross-platform scope offers a common interface where traditional USB inspection tools differ by operating system.

### How it is used

Run `usbtree` for the interactive tree, `usbtree --dump` for one-shot output, and `usbtree --updatelist` to refresh USB identifiers. Linux additionally supports unprivileged URB-rate metrics and root-enabled usbmon byte-rate measurements.

### Why package nerds care

The package combines a polished terminal UI with a small static binary, no libusb dependency, and no routine root requirement. Linux users can optionally elevate it for usbmon bandwidth measurements while retaining unprivileged USB-tree and activity inspection.

### Timeline

- 2026: Early public releases established Homebrew distribution and prebuilt Linux, macOS, and Windows binaries.

### Related projects

- nusb
- usb.ids
- systemd hwdata
- usbmon
- Ratatui

### Sources

- <https://github.com/gnomeria/usbtree>
- <https://gnomeria.github.io/usbtree/>


## Security Notes

No matching local secret-handling manifest was found for usbtree. Package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/usbtree/overrides.ids, ~/.config/usbtree/usb.ids
- Windows: %APPDATA%\usbtree\overrides.ids, %APPDATA%\usbtree\usb.ids
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** usbtree
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - usbtree: normalized package name match | nixpkgs package indexes: pkgs/by-name/us/usbtree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/usbtree: normalized package name match | Scoop official bucket manifest trees: bucket/usbtree.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/brew/rust/) - Build dependency declared by Homebrew.
- [oh-my-reddit](https://pkg.so/brew/oh-my-reddit/) - Local package facts share a topical domain. Shared terms: live, terminal, your.
- [aider](https://pkg.so/brew/aider/) - Local package facts share a topical domain. Shared terms: terminal, your.
- [amp](https://pkg.so/brew/amp/) - Local package facts share a topical domain. Shared terms: terminal, your.

## Combined YAML source

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


## Sources

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
