microsoft/sudo

It's sudo, for Windows

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 18 seconds ago
Added to GitGenius on September 11th, 2026
Created on February 1st, 2024
Open Issues & Pull Requests: 53 (+0)
GitHub issues: Enabled
Number of forks: 180
Total Stargazers: 5,862 (-1)
Total Subscribers: 40 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Sudo for Windows is a command-line privilege elevation tool that allows users to run elevated commands directly from unelevated terminal windows on Windows.

The tool solves the problem of needing to open a separate elevated terminal session to run administrative commands. Rather than porting the Unix sudo utility, Sudo for Windows is a Windows-specific implementation that accounts for the different permission model and command-line experience on Windows. Users can invoke elevated commands inline from their current unelevated terminal, streamlining workflows that frequently require administrative access.

Sudo for Windows is built into Windows 11 builds 26045 and later through the Inbox version, which can be enabled via the Developer Features page in Windows Settings. The project explicitly notes that it is not a port of Unix sudo, so scripts and documentation written for traditional sudo may require modification. Developers working on Windows 11 systems who frequently need to run administrative commands without switching terminal sessions are the primary audience. The tool includes a PowerShell helper script called sudo.ps1 in the scripts directory that provides a more user-friendly wrapper around sudo.exe for PowerShell users.

The project maintains a substantial base of real-world adopters, as evidenced by the fact that nearly all open issues are raised by outside users rather than the core team. Issue responses typically arrive within one to two weeks. Work in the issue tracker centers on bug reports, feature requests, and maintenance tasks, reflecting active engagement with user-reported problems and enhancement suggestions.