Sudo for Windows

April 20, 2026
Vibrant display of 'ADMIN' text on a bright red surface.
Photo by Arturo Añez. on Pexels

What it is

Microsoft has published a Sudo for Windows repository that aims to let users run elevated commands from unelevated terminal windows — yes, that old developer friction finally has a go-around. The repo welcomes contributors and points to docs at aka.ms/sudo-docs; there’s also a helper script, sudo.ps1, intended to smooth PowerShell usage. It has been reported that an "Inbox" version of sudo ships with Windows 11 builds 26045 and later and can be toggled from Settings → Developer Features on Insiders builds.

Not Unix sudo — and that matters

Don’t expect a straight port. Microsoft is clear: this is a Windows-specific implementation of the sudo concept, not a fork of the Unix/Linux sudo project. Permissions on Windows are a different animal — different APIs, different UX — so scripts and docs written for traditional sudo may need work to run here. In short: familiar name, unfamiliar playground. Who wants the same old tool that won’t play nice? Exactly.

How to try and help

If you want to poke it, the repo encourages filing issues and feature requests on GitHub — but search first, because duplicates are nobody’s friend. Contributors can edit the docs, tinker with sudo.ps1, or submit code per CONTRIBUTING.md. The team is reachable via issues, discussions, or the listed social handles for project leads. A Microsoft Open Source Code of Conduct applies, so play nice.

This feels like part of a larger trend: Windows continuing to embrace developer ergonomics (think WSL, improved terminal, PowerShell cross-platform work). It’s a small thing that could shave seconds off a build-and-test loop, but those seconds add up — and for developers, that’s everything.

Sources: github.com/microsoft, Hacker News