First of all you need to download Nmap click here: and save it to your Desktop or anywhere.
Now we have to install Nmap by opening it.
And Done Nmap is installed on your Mac OS X it’s simple.. To make sure Nmap is correctly installed let’s test it out!
Open up your Terminal and Write: nmap
Great it’s working fine! now it’s your time to start scanning or what ever you want!
Do you wanna learn more about Nmap
Read our article here: Nmap Commands For Beginner Hackers