Easy to Use
gsudo to make your command run elevated in the current console window. Just as Unix/Linux sudo. One UAC popup will appear.
Easy to Install
choco install gsudo
scoop install gsudo
winget install gerardog.gsudo
Learn how to install.
gsudo is just a portable console app. No Windows service is required or system change is done, except adding gsudo to the Path.
Supports your preferred shell
Detects your shell and elevates your command as a native shell command. Currently supports
Too many UAC pop-ups? You can see less popups if you opt-in to enable the
credentials cache, once you understand the security implications.
Increase your productivity
Do not waste time opening a new window and switching context back and forth. Also avoid the "elevation fatigue" that leads to the malpractice of running everything elevated, and just elevate specific commands.