You should be able to transfer the os installer into an 8+ gb thumb drive via DiskMakerX. You do need a working mac with something that works with the mac app store installed and enough space to download the os from the app store. Afterwards, just boot up your mac with the alt key, and install.