Build a bootable drive from OS X/macOS installer program.
Install macOS Sierra on unsupported computers.
Download macOS directly from Apple servers and install it on your Mac.