Windows 11 will soon offer developers the ability to run elevated programs directly from non-elevated consoles using built-in sudo commands. Here’s what the latest developments have to offer developers on Windows.
Windows Gets Linux SUDO Command – Available in 24H2
Related: Here Are the Two Ways to Enable Sudo in Windows 11 (Using Settings or CMD)
Sudo, or “superuser do”, is a privilege granted to Linux and other Unix-based systems to run programs in an elevated environment without first having to open the elevated consoles.
Additionally, developers can configure how sudo runs the application in three ways: