TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
INTRODUCING SUDO FOR WINDOWS!
Summary from the TLDR newsletter
Sudo for Windows is a new way for users to run elevated commands directly from an unelevated console session. Microsoft has open-sourced the project and added the feature to the Windows 11 Insider Preview Build 26052. The feature currently supports three configuration options (In a new window, Input closed, and Inline) that can be set through a drop-down menu in the Settings page for the feature. A link to gsudom, an alternative implementation of sudo with additional functionality, is available.