How to Install Metasploit on macOS

Metaspoit is a powerful tool and mostly is used for ethical hacking activities. This tool can cover all four stages in ethical hacking phases:

Information Gathering

Preparation and Attack Planning



The first step download and install Metasploit framework [3].

curl -s > msfinstall && \
chmod 755 msfinstall && \

Third step Postgres database for instant queries (optional).

service postgresql start

Last step Metasploit Framework


Optionally, I am adding Postgres service into startup script

systemctl enable postgresql



Twitter @tomas_savenas