CLI Tool Utilities & Power Tools ★ 2,867 stars on GitHub

uhubctl

Manage power to individual USB ports on compatible smart hubs, allowing you to reset frozen devices or save energy with simple commands.

Get Command-Line Tool →
Command-Line Utility (No Graphical Interface): This program runs inside your system terminal or command prompt rather than opening a desktop window. Follow the official installation instructions below.

Guide and Overview

What it does in plain English

This utility lets you turn the electrical power on and off for individual USB ports on supported smart hardware hubs. Instead of manually unplugging tangled cables, you can send quick commands to restart crashed gadgets, cycle charging ports, or cut power to idle peripherals.

Who it’s for

  • Hardware tinkerers and home automation hobbyists who build custom lighting, sensors, or device clusters.
  • System administrators who need to remotely reboot unresponsive USB modems, cameras, or external storage drives.
  • Power users looking to eliminate phantom power draw from connected phone chargers and accessories.

Key features

  • Turn power completely on or off for specific USB ports using straightforward terminal commands.
  • Automatically cycle power to force stubborn hardware components to reset and re-initialize.
  • Target individual ports or ranges across multiple connected smart hubs seamlessly.

How to install (Download)

You can easily install this utility through standard package managers on supported operating systems, or compile it directly from the source code. For detailed setup instructions and the complete list of verified hardware, visit the Official Releases and Site.

Pros and Cons

  • Pros: Free and open-source, enables remote hardware resets without physical intervention, supports a wide range of popular smart USB hubs.
  • Cons: Requires specific hardware that natively supports per-port power switching, and certain operating systems may need manual permission configuration.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
  • AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
  • InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.