I recently reinstalled nmap using brew, which, I guess, has caused some conflict with the pre-existing one. So just running nmap gives a -bash: /usr/local
nmap
-bash: /usr/local