Desktop App Productivity ★ 6,082 stars on GitHub

gsudo

Run Windows terminal commands with administrator permissions on demand without opening new windows.

Guide and Overview

What it does in plain English

This utility brings the familiar Unix-style permission elevation experience directly to Windows command line users. Simply add a small keyword before any terminal command to instantly run it with administrative privileges in your current window. It automatically detects your active shell environment and cleanly handles output capturing and script execution without cluttering your desktop.

Who it’s for

  • Windows power users and developers who frequently need administrator permissions for terminal tasks.
  • System administrators managing local scripts that require conditional privilege elevation.

Key features

  • Elevates commands right inside your existing console window without spawning unnecessary extra screens.
  • Supports popular shell environments including standard command prompt, PowerShell, WSL, and various Git shells.
  • Optional credentials cache allows running multiple elevated tasks while showing security pop-ups much less frequently.
  • Seamlessly handles output piping, error codes, and automation scripts.

How to install (Download)

Choose the official installer that matches your computer processor architecture:

Pros and Cons

  • Pros: Free and open source, lightweight portable nature, great compatibility across different Windows shells.
  • Cons: Requires a quick console restart after installation, credential caching introduces minor security trade-offs if shared computers are used carelessly.

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.