jscan
List available serial ports with USB device info. Table or JSON output with watch mode for hot-plug detection.
Tech Stack
Rust
Serial Port Scanner
Quickly discover all serial ports on your system with detailed USB device info — vendor/product IDs, manufacturer, product name, and serial number.
Features
- Table output — clean, readable table with port name, type, VID, PID, product, and manufacturer
- JSON output — machine-readable output for scripting with
--json - USB-only filter — show only USB devices with
--usb-only - Watch mode — auto-rescan and detect hot-plugged devices with
--watch - Verbose mode — detailed per-port info with
--verbose
Usage
# List all serial ports
jscan
# JSON output for scripting
jscan --json
# Watch for device changes (rescan every 2s)
jscan --watch
# Only show USB devices, rescan every 5s
jscan --usb-only --watch --watch-interval 5
Installation
Download the binary for your platform from the releases page, extract it, and place it somewhere in your PATH.