gsudo
gerardog.gsudo
// WINGET INSTALL
> winget install gerardog.gsudo
About
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
Open PowerShell or Command Prompt and run: winget install gerardog.gsudo. Winget is built into Windows 10 (1809+) and Windows 11.
The missing piece in Windows. Cherry-pick which commands to elevate with just one keyword.
gsudo is available under the MIT license. Use winget or the direct download link on this page.
Run winget upgrade gerardog.gsudo in PowerShell or Windows Terminal to update gsudo to the latest available version.
Run winget uninstall gerardog.gsudo in an elevated PowerShell window, or go to Settings > Apps > Installed Apps and find gsudo.