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.
Save commonly used scripts as snippets to reuse later and share.
An introduction to MongoDB Shell; a modern user experience which allows for testing queries and operations directly with your database.
The MongoDB Shell, mongosh, is a fully functional JavaScript and Node.js 14.x REPL environment for interacting with MongoDB deployments.
Join discussions and ask questions about MongoDB Shell.
Explore mongosh-snippets, an experimental plugin feature for mongosh.