Question: how much money does it cost to get minecraft on the computer?
Answer: You can buy Minecraft Java Edition from Minecraft.net for $26.95 USD or local currency equivalent. You can learn more about pricing here. This is a one time purchase. You can buy an account for yourself, or buy a code to give away.