cmd.exe
with C:\> reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock /t REG_DWORD /f /v AllowDevelopmentWithoutDevLicense /d 1 C:\> DISM /Online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux
cmd.exe
console, the developer settings can be opened with C:\> start ms-settings:developer
PS C:\> show-windowsDeveloperLicenseRegistration
VMCreate.exe
allows to quickly install a Windows 11 dev environment which comes with enabled developer mode.