Published by Gerardo Grignoli

gsudo

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

Version2.6.1 LicenseMIT winget • wix Archx64
adminadministratorcommand-lineelevateelevationpriviledgerun-asrunasshellsudo

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.

Winget Install — click to copy
winget install gerardog.gsudo

Frequently Asked Questions

How do I install gsudo using winget?
Open Windows Terminal or PowerShell and run: winget install gerardog.gsudo. Winget is built into Windows 10 (1809+) and Windows 11.
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 available under the MIT license. Use the winget command or the direct download link on this page.
How do I update gsudo with winget?
Run winget upgrade gerardog.gsudo in Windows Terminal or PowerShell to update gsudo to the latest available version.