Minecraft: Java Edition runs on PC's and Macs.
The software can be purchased from minecraft.net. When you purchase the software, you will be required to sign up for a Mojang account. This is the username that you will use when you set up your server on Tynker.