You can do this for up to 10 PCs
Microsoft Store not showing purchased apps and games SOLUTION [Tutorial]
I’ve been using Windows 10 for a while now and one thing I’ve done is buy a few useful apps from the Windows Store. If you’ve ever bought an app on an Apple device, you probably know that you can then download that same app for free on other iOS devices. That’s nice because I’m not going to pay for the same app on my iPhone and iPad.
Similarly, I don’t pay for the same app on multiple copies of Windows 10. With the Windows Store and in-app purchases, you can buy an app and install it on up to 10 Windows 10 PCs. I’m not a huge fan of the 10-PC limit, but it’s better than nothing, I guess. And I doubt most people will own more than 10 copies of Windows 10.
Unlike Apple's App Store, however, you can only use one account to install apps on multiple PCs. So if a family member buys an app from the Windows Store, you can't download it for free. With Apple, you can just copy the app and email it to anyone for free.