Sudo for Windows

Published: (April 19, 2026 at 07:59 PM EDT)
2 min read

Source: Hacker News

Overview

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, certain elements of the traditional sudo experience are not present in Sudo for Windows, and vice versa. Scripts and documentation written for sudo may require modification to work with Sudo for Windows.

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 the CONTRIBUTING.md for details on how to contribute to this project.

sudo.ps1

You can contribute to the sudo.ps1 script. This script serves as a helper wrapper around sudo.exe to provide a more user‑friendly experience when using sudo from PowerShell. It 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 search for similar open or closed issues before creating a new one.

If you have a question that doesn’t warrant an issue yet, consider starting a discussion thread. Discussions are especially helpful for Q&A.

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 opencode@microsoft.com with any additional questions or comments.

0 views
Back to Blog

Related posts

Read more »