Install with winget
Open PowerShell or Command Prompt and run:
winget install gerardog.gsudo
Copied to clipboard!
1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation
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.
Advanced Install Options
Install (latest)
winget install gerardog.gsudoInstall (pinned version)
winget install --id gerardog.gsudo -e --version 2.6.1Upgrade
winget upgrade gerardog.gsudoUninstall
winget uninstall gerardog.gsudoFrequently Asked Questions
How do I install gsudo using winget?
Open PowerShell or Windows Terminal and run:
winget install gerardog.gsudo. Winget comes pre-installed on 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 use?
gsudo is distributed under the MIT license. Check the publisher’s site for full licensing details.
How do I update gsudo with winget?
Run
winget upgrade gerardog.gsudo in PowerShell or Windows Terminal to upgrade to the latest available version.How do I uninstall gsudo?
Run
winget uninstall gerardog.gsudo to remove gsudo from your system.