When installing a package on WinGet results in an error, Installer hash does not match, this means that the hash of the downloaded installer file does not match WinGet’s current knowledge of that installer. This check is for security, and it stops the installer from being run if it hasn’t been vetted. But there is a way to get around it.

In an admin terminal, run winget settings --enable InstallerHashOverride to enable hash overriding.

Then re-run the winget install command with the flag --ignore-security-hash tacked on at the end.