mongo.exe not installed in Version 6.0.0+ | mongo not a recognize an internal or external command

The legacy mongo shell is no longer included in server packages as of MongoDB 6.0. mongo has been superseded by the new MongoDB Shell (mongosh) which is available separately: Download and Install mongosh

The MongoDB Compass admin GUI should be installed by default if you are using the Windows .msi installer. Compass includes mongosh as an Embedded MongoDB Shell so you may not need the separate mongosh download unless you prefer to work from a command line environment.

If Compass hasn’t been installed yet, you should be able to install it by double-clicking on the InstallCompass PowerShell script in your MongoDB server bin directory (this is the second item in your directory listing above). You can also Download MongoDB Compass from the MongoDB Download

Source: MongoDB Community

Leave a Reply