There are other options online but they rely on using someone elses old crusty packages. This script will always download the latest version of Microsoft Store for your architecture along with all of its dependencies.
The script is compatible with PowerShell 5 and later, just make sure to run with admin. If you run into issues please post in the issues tab.
Important
Run the following command with Admin.
Start-BitsTransfer -Source 'https://github.com/raw/tadghh/windows-fixes/main/Install-MSStoreLTSC.ps1' -Destination ./store-install.ps1;
Set-ExecutionPolicy Unrestricted -Force;
./store-install.ps1;
Set-ExecutionPolicy RemoteSigned -Force