‘mongoImport’ is not recognized as an internal or external command | mongoimport command not found

The mongoimport tool imports content from an Extended JSON, CSV, or TSV export created by mongoexport, or potentially, another third-party export tool.

Starting with MongoDB 4.4, mongoimport is now released separately from the MongoDB Server and uses its own versioning, with an initial version of 100.0.0. Previously, mongoimport was released alongside the MongoDB Server and used matching versioning.

If you are using mongoDB 4.4+ then mongoimport tool need to download separately.

You can download mongoimport tool from here.

MongoDB Database Tools for mongoimport
MongoDB Database Tools

The MongoDB Database Tools are a collection of command-line utilities for working with a MongoDB deployment. These tools release independently from the MongoDB Server schedule enabling you to receive more frequent updates and leverage new features as soon as they are available. See the MongoDB Database Tools documentation for more information.

MongoDB Database Tools

If you are downloading for window then you have two option to download 1. msi 2. zip. If you are using .msi then you can install it.

MongoDB Database Tools
MongoDB Database Tools

If you are downloading .zip file then you can unzip in mongodb bin folder or you can create sperate Tool folder parallel to server

Leave a Reply