Welcome to the MongoDB community @ketan_k !

Can you provide some more details on your environment:

  • version of MongoDB server installed
  • your O/S version

If you are installing MongoDB 6.0 or newer, the legacy mongo shell is no longer included. Depending on your O/S and install options you may have mongosh (the new MongoDB shell) and/or MongoDB Compass (an admin GUI including an embedded version of mongosh).

You can also Download MongoDB Tools from the MongoDB Download Centre if they are not already installed.

Regards,
Stennie

1 Like