-bash: /usr/local/bin/nmap: Bad CPU type in executable

Solution 1:

I decided to go the site :

https://nmap.org/book/inst-macosx.html

enter image description here

Click on Download

https://nmap.org/dist/nmap-7.80.dmg

I downloaded that .dmg, installed it, now my nmap working again.

enter image description here

Note : I will leave this post since, it might help others in the future.

Solution 2:

You may find this to be an x86 (32bit) vs x64 problem, thus a new version will be required.