MongoDB Shell. Best-in-class Database Shell Experience.
The quickest way to connect to MongoDB and Atlas to work with your data and manage your data platform.
Interface with MongoDBThe new MongoDB Shell lets you connect to MongoDB to work with your data and configure your database. With its enhanced usability features (intelligent autocomplete and syntax highlighting, easy to understand error messages and contextual help), it’s the quickest way to work with MongoDB and Atlas.
Input and output in the Shell are formatted and color-coded to be easy to read.
Clear error messages help you understand what went wrong in your code and where.
The Shell prompts you with suggested language when you can’t remember a command or an operator.
Get contextual help for Shell classes and commands with direct links to online documentation.
Built on top of the Node.js REPL, the MongoDB Shell gives you a powerful scripting environment.
Extensible with Snippets
Save commonly used scripts as snippets to reuse later and share.
MongoDB Shell DemoPresented by Massimiliano Marcon, Senior Product Manager, Developer Tools, MongoDB
An introduction to MongoDB Shell; a modern user experience which allows for testing queries and operations directly with your database.
Install & Connect