Microsoft said it’s introducing Sudo for Windows 11 as part of an early preview version to help users execute commands with administrator privileges.
“Sudo for Windows is a new way for users to run elevated commands directly from an unelevated console session,” Microsoft Product Manager Jordi Adoumie said.
“It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console.”
The feature is available for Windows 11 builds 26045 and later. It can be enabled by heading to Settings > System > For Developers, and setting “Enable sudo” to On.
“An unelevated process can send input to the elevated process within the same console windows or get information from the output in the current windows in this configuration.”
Microsoft said it’s also in the process of open-sourcing the project on GitHub, urging other users to contribute to the initiative as well as report issues and file feature requests.