To install it, unzip and open the downloaded folder in Finder. Find the install script called
refind-install and double click it. This will open up a new Terminal and you'll have to enter your password and confirm your intent a few times. That should complete the installation.
At this point, we'll have to shrink the OS X partition and make room for our Linux installation.
Press Cmd + Space, then type Disk Utility.
Select your Mac's hard drive on the left, and click Partition on the right. You will then be prompted to resize the existing partition. Don't add a partition, simply shrink the existing one. You can decide how much space you want to allocate to each operating system. Since I've got a 256GB SSD, I'm going to give 32GB to Ubuntu and 224GB to OS X. So I'll shrink my Macintosh HD to 224GB.
Reboot your computer, and when it comes back up rEFInd will find the bootable USB and give you the option to open the installer. Click on the installer and follow the installation instructions for your OS.
Make sure you check the option to "Install Ubuntu alongside macOS" (for Ubuntu) to make sure you don't overwrite