This method installs Metasploit from the official OSX installer found at https://osx.metasploit.com/metasploitframework-latest.pkg
- Download the installer from https://osx.metasploit.com/metasploitframework-latest.pkg
- Run the installer.
- You should get it blocked from running.
- Go to OSX System Preferences -> Security & Privacy and tell OSX to "Open it anyway".
- The installer will start.
- At some point you will have to type your password to give the installer elevated privileges to continue.