mongosh (the MongoDB Shell) is the interactive command-line interface for MongoDB — a JavaScript environment for connecting, running queries, and administering databases. It's used for development, debugging, and administration, with JavaScript syntax for operations.
Connecting and navigating
mongosh
mongosh
show dbs
use mydb
show collections
db
