Last updated
The missing piece in Windows. Cherry-pick which commands to elevate with just one keyword.
$ winget install --id gerardog.gsudo --exact --version 2.6.1Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
gsudo uses MSI (WiX). The silent install switches are /quiet /norestart.
msiexec.exe /i gsudo.setup.x64.msi /quiet /norestart
For Intune admins
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
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.
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x86 | Portable in ZIP | - | Direct | |
| x86 | MSI WiX | - | Direct | |
| x64 | Portable in ZIP | - | Direct | |
| x64 | MSI WiX | - | Direct | |
| arm64 | Portable in ZIP | - | Direct | |
| arm64 | MSI WiX | - | Direct |
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
No known CVEs for gsudo.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.
More from Gerardo Grignoli or browse admin, administrator, command-line.