Open Windows Terminal or Command Prompt as Administrator
Run `winget source update`
Run `winget search DirectX`
Identify the DirectX package name or installer source
Run `winget install –id
If DirectX is already installed, run `winget upgrade –id
If no DirectX package appears in winget, download the latest DirectX runtime from Microsoft
Install the downloaded DirectX package manually
Restart your PC if prompted
