Install via Winget
winget install gerardog.gsudo
Open Windows Terminal or PowerShell and run the command above. Winget is built into Windows 10 (1809+) and Windows 11.
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 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.