But, that momentum kind of died down over the years. Luckily, that hype train is going to get started real soon thanks to a recent development that shows sudo being offered on Windows.
If you are not familiar, sudo is a command that effectively allows users to run programs with the security clearance of an administrator.
So, let's begin without any further ado!
Sudo on Windows: What to Expect?
Spotted first by Windows Latest on a leaked Windows Server preview build that was accidentally pushed to the Windows 11 Update servers last week, there was a dedicated setting called “Enable sudo” in the System settings.
As you can see above, there are three distinct options available on how sudo may run apps when you enable it on Windows. The first is to open apps in a new window; most likely a terminal window, the second one is with input disabled; possibly to prevent any unwanted actions during command execution.
And, the third one is to execute a command in the current window; without opening a new window.
If you were to choose any one of those, then a warning would pop up, saying that running sudo can expose your device and personal data to security risks or harm your device.
After enabling, you should be able to run sudo commands from PowerShell, the Command Prompt, or any other terminal emulator for Windows.
But, there's a catch. As of writing, we don't really have a concrete date as to when support for sudo will be introduced into the stable builds of Windows, and whether it will be shipped as part of the upcoming Windows 11 24H2 update or not.
Only time will tell how Microsoft intends to implement sudo into Windows, and whether it would be made available for everyone, or will be an opt-in affair.
💬 Well, I didn't expect this day to come, but, it's coming. Were you expecting this?