There is no PC version to download. CastleMiner is an Xbox 360 title, where the full game has typically sold for under five dollars and a free demo is available if you want to try it before buying.
Its sequel, CastleMiner Z, did make it to Windows, so if you specifically want a voxel mining and building game on your PC, that is the one to look at. It is a separate game rather than a port, so expect differences in content and progression.