Sudo for Windows

Hacker News Top Tools

Summary

Microsoft's Sudo for Windows is a Windows-specific implementation allowing users to run elevated commands from unelevated terminal windows, available in Windows 11 builds 26045+ with an open-source repository for contributions and community engagement.

No content available
Original Article
View Cached Full Text

Cached at: 04/20/26, 02:44 PM

microsoft/sudo

Source: https://github.com/microsoft/sudo

Sudo for Windows icon Sudo for Windows

Welcome to the repository for Sudo for Windows 🥪. Sudo for Windows allows users to run elevated commands directly from unelevated terminal windows.

The “Inbox” version of sudo is available for Windows 11 builds 26045 and later. If you’re on an Insiders build with sudo, you can enable it in the Windows Settings app, on the “Developer Features” page.

Here you can report issues and file feature requests.

Relationship to sudo on Unix/Linux

Everything about permissions and the command line experience is different between Windows and Linux. This project is not a fork of the Unix/Linux sudo project, nor is it a port of that sudo project. Instead, Sudo for Windows is a Windows-specific implementation of the sudo concept.

As the two are entirely different applications, you’ll find that certain elements of the traditional sudo experience are not present in Sudo for Windows, and vice versa. Scripts and documentation that are written for sudo may not be able to be used directly with Sudo for Windows without some modification.

Documentation

All project documentation is located at aka.ms/sudo-docs. If you would like to contribute to the documentation, please submit a pull request on the Sudo for Windows Documentation repo.

Contributing

Check out CONTRIBUTING.md for details on how to contribute to this project.

sudo.ps1

In the meantime, you can contribute to the sudo.ps1 script. This script is meant to be a helper wrapper around sudo.exe that provides a more user-friendly experience for using sudo from PowerShell. This script is located in the scripts/ directory.

Communicating with the Team

The easiest way to communicate with the team is via GitHub issues.

Please file new issues, feature requests and suggestions, but DO search for similar open/closed preexisting issues before creating a new issue.

If you would like to ask a question that you feel doesn’t warrant an issue (yet), try a discussion thread. Those are especially helpful for question & answer threads. Otherwise, you can reach out to us via your social media platform of choice:

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Similar Articles

Microsoft’s new developer-optimized Windows embraces Linux even more

The Verge

Microsoft announced a developer-optimized Windows 11 experience at Build, including Coreutils for Windows (native Linux-like utilities), WSL containers for easy Linux container management, an experimental Intelligent Terminal with AI integration, and Windows Developer Configurations for quick setup.

microsoft/terminal

GitHub Trending (daily)

This is the GitHub repository for Windows Terminal, the modern terminal emulator for Windows. It provides the source code for Windows Terminal, Windows Terminal Preview, the console host, and related tools.

Windows 11½

Hacker News Top

Windows 11½ is an independent parody project that satirizes modern software trends like subscriptions, ads, and AI features, presented as a fake operating system experience.

Use Tiny11 to Rescue a Computer Running Windows 10

Wired

Tiny11 is an unofficial stripped-down version of Windows 11 that can run on older PCs not meeting Windows 11 requirements. It removes bloatware and Microsoft extras, but lacks official support and updates.