If you have installed it but PowerShell claims it doesn't exist:
winget export -o C:\path\to\file.json Troubleshooting WinGet Installation install winget powershell