1

I have mongodb community 6.0.0 installed.

The command mongo is not found.

The command mongosh is working.

mongosh --version
1.5.4
2

1 Answer 1

7

According to official document,

The mongo shell has been deprecated in MongoDB v5.0. The replacement is mongosh.

As you are using MongoDB v6.0, mongo is deprecated in your version.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.