Zsh: command not found: msfconsole

terminalzsh

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

Best Answer

zsh uses .zprofile in your home directory

Try copying the contents of .profile to .zprofile and then launch a new terminal window