Before starting, ensure your system meets these requirements: Windows 10 (version 1809 or later) or Windows 11. Permissions: You must run PowerShell as an Administrator .
Then retry Winget commands.
winget install --self