I have mongodb community 6.0.0 installed.
The command mongo
is not found.
The command mongosh
is working.
mongosh --version
1.5.4
According to official document,
The
mongo
shell has been deprecated in MongoDB v5.0. The replacement ismongosh
.
As you are using MongoDB v6.0, mongo
is deprecated in your version.
mongo
shell? The new mongosh shell should provide all the same functionality. The code for the new shell lives here: github.com/mongodb-js/mongosh