Enter the command below in a terminal to install ProjectDiscovery’s Naabu using Go.
before installing naabu, make sure to install libpcap library for packet capturing.
go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest

Installation Notes

  • Naabu requires the latest version of Go
  • To install libcap on Linux: sudo apt install -y libpcap-dev, on Mac: brew install libpcap
  • Add the Go bin path to the system paths. On OSX or Linux, in your terminal use
echo export PATH=$PATH:$HOME/go/bin >> $HOME/.bashrc
source $home/.bashrc