You can now run elevated commands on Windows 11 using sudo, just like on Linux or macOS. Here's how to enable the feature.
Channel | Publish Date | Thumbnail & View Count | Actions |
---|---|---|---|
Pureinfotech | 2024-02-10 18:34:30 | 5,963 Views |
Windows 11: Enable NEW Sudo Command (2 Methods)
In Windows 11, it is now possible to enable "sudo" and in this guide I will describe the steps to complete this configuration. Starting with preview build 26052, the operating system adds support for the sudo command for the Command Prompt and PowerShell to run elevated commands without having to open the console as an administrator, similar to the command already available in Linux, macOS and other Unix-based operating systems.
Sudo on Windows 11 offers three modes:
You can use this command to perform many operations: