Microsoft is bringing Linux’s sudo command to Windows 11
Windows 11 will soon have a built-in sudo command designed for developers. Sudo, short for “superuser do,” is widely used on Unix-based operating systems like Linux and macOS to run programs with higher security privileges or as another user. It’s useful for developers wanting to test scripts, for example.
Microsoft is using sudo inside Windows to let developers run elevated tools directly from an unelevated console session. “It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console,” explains Jordi Adoumie, a product manager at Microsoft.