Where is mongoimport installed on Mac OS X

As of June 2020, I installed mongodb latest version using brew as per the documentation , and I faced the same issue command not found: mongoimport .

I had to to install mongodb-database-tools

brew install mongodb/brew/mongodb-database-tools

Then I could use mongoimport

Just adding this solution, incase it helps someone


Got the same issue, but I installed mongodb via Mac Port. Unfortunately, from version 3 of mongodb, these mongodb tools are maintained as a separate project, so I updated Mac port to latest version then installed mongo tools separately.

sudo port install mongo-tools

Hope this helps someone that installing mongodb by mac port.