CLI Tool Utilities & Power Tools ★ 5,865 stars on GitHub

sudo

Sudo for Windows allows users to run elevated commands directly from unelevated terminal windows without opening a new console.

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

Sudo for Windows brings the familiar command elevation concept to the Windows operating system. It lets you run specific tasks with administrator powers straight from your everyday command line window. Instead of closing your current work to open a separate elevated window, you can instantly promote a single command on the fly.

Who it’s for

  • Software developers who frequently mix regular coding tasks with administrator-level system commands.
  • System administrators managing Windows environments from the command line.
  • Advanced power users looking for a faster and more efficient way to handle permissions in the console.

Key features

  • Run elevated commands directly from an unelevated terminal session.
  • Built directly into modern Windows 11 builds for easy activation.
  • Streamlines command-line workflows by eliminating window switching.
  • Open-source tool developed natively for the Windows platform.

How to install (Download)

This feature is built directly into Windows 11 (build 26045 and later). If your system includes it, you can easily turn it on by opening the Windows Settings app, navigating to the “Developer Features” page, and enabling it there. To inspect the source code or learn more, visit the Sudo for Windows Official official project page.

Pros and Cons

  • Pros: Built right into the operating system on modern Windows 11 builds, speeds up everyday technical tasks, highly customizable command options.
  • Cons: Requires modern Windows 11 updates to use the built-in version, not compatible with legacy Unix scripts without adjustments.

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.