The latest macOS installer package is available at https://osx.metasploit.com/metasploitframework-latest.pkg.
Installing Metasploit on macOS
How to do it...
Download and launch the installer to install Metasploit Framework with all of its dependencies. Once installed, you can launch msfconsole as /opt/metasploit- framework/bin/msfconsole:
The Metasploit Framework initial setup will help you set up a database and add Metasploit to your local PATH as shown:
$ /opt/metasploit-framework/bin/msfconsole
** Welcome to Metasploit Framework Initial Setup **
Please answer a few questions to get started.
Would you like to add msfconsole and other programs to your default PATH? yes
You may need to start a new terminal or...