M001 - Chapter 3

If I did not install mongo shell and using IDE, am I able to run mongorestore or mongoimport in IDE?

As in the first video, using mongoimport to import json file:
mongoimport --uri=“mongodb+srv://:@.mongodb.net/sample_supplies” sales.json

is not able to run over IDE.

:wave: Hi @Vincy_Leung and welcome to the MongoDB community.

mongoimport and mongorestore are command line tools and are not meant to be run from an IDE. You can download the complete set of tools from the MongoDB site. You can read more about the tools in the documentation. The mongosh (mongo shell) is yet another separate download.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.