gsudo

by Gerardo Grignoli

The missing piece in Windows. Cherry-pick which commands to elevate with just one keyword.

Version
2.6.1
License
MIT
Installer
wix
Arch
x64
Package ID
gerardog.gsudo
adminadministratorcommand-lineelevateelevationpriviledgerun-asrunasshellsudo

// install via winget

Command Prompt & PowerShell click to copy
winget install gerardog.gsudo

// direct download

Download Installer

// about gsudo

gsudo is a sudo equivalent for Windows, with a similar user-experience as the original Unix/Linux sudo. Allows you to run a command (or re-launch your current shell) with elevated permissions, in the current console window or a new one.

// frequently asked questions

How do I install gsudo using winget?
Open PowerShell or Windows Terminal and run: winget install gerardog.gsudo. Winget ships with Windows 10 (1809+) and Windows 11 — no additional install needed.
What is gsudo?
The missing piece in Windows. Cherry-pick which commands to elevate with just one keyword.
Is gsudo free to download?
gsudo is distributed under the MIT license. Use the winget command above or click the download button to get the installer directly from the publisher.
How do I update gsudo with winget?
Run winget upgrade gerardog.gsudo in PowerShell or Windows Terminal to update gsudo to the latest available version.
What architecture does gsudo support?
The listed installer targets the x64 architecture. See the publisher’s documentation for full compatibility details.