Installed Metasploit on my macOS Catalina from the rapid7 website - pkg
installation. When trying to run the command msfconsole
the terminal displays the following error:
zsh: command not found: msfconsole
zsh uses .zprofile in your home directory
Try copying the contents of .profile to .zprofile and then launch a new terminal window
.zprofile
in my home directory, I created a new text document and named it .zprofile
copied the contents of .profile
and it worked! Thank you.
$PATH
?PATH=$PATH:/opt/metasploit-framework/binexport
and alsoPATH=$PATH:/opt/metasploit-framework/bin
echo $PATH
?/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
/opt/metasploit-framework/bin/
. Could you check it and report back?