The platform offers an unofficial Nmap Portable package. This version is pre-configured to store its configuration in the same folder.
Download the Nmap Zip ArchiveVisit the official Nmap download page and look for the Windows binaries section. Instead of the .exe installer, download the .zip file (e.g., nmap-7.94-win32.zip). Extract the contents of this folder onto your USB drive. nmap for windows portable
This is the most critical limitation of running Nmap portably. The platform offers an unofficial Nmap Portable package