How can I switch a Minecraft account to another device?

br
2

I recently built a PC and wanted to install Minecraft and don't want to buy a new Minecraft because I still have Minecraft on the iPad,

Now to my question: Can I simply use the Microsoft account from my iPad on my PC or do I have to download Minecraft again on the PC?

Va

You can use the same profile, but you still have to buy Minecraft again on new platforms.

br

Thank you!