I recently got a new computer, and wanted to play with friends through Minecraft for Windows 10, but I can't figure out how to download it. Whenever I go to the game "Minecraft for Windows 10" it says I don't own it; when I go to the game titled as "Minecraft", it says I own it.
But when I click on 'Install on my devices', I get a pop-up saying
It looks like you don't have any applicable device(s) linked to your Microsoft account. to install, sign in on a device with your Microsoft account.
I am signed into my account and i don't know what else to do since the only other button on screen is "buy as gift".
Edit: I forgot to mention that I got the game with a code from when they were giving out codes if you bought Minecraft Java edition.