MongoDB Shell
mongoshThe MongoDB Shell is a fully functional JavaScript and Node.js REPL environment for interacting with MongoDB deployments.
The MongoDB Shell is a fully functional JavaScript and Node.js REPL environment for interacting with MongoDB deployments.
Open mongosh against a MongoDB deployment. Passwords are left out; mongosh prompts for one when needed.
uriusernameauth_dbportquietstring · positional 0mongodb://localhost:27017integer--portstring--username-ustring--authenticationDatabasestring--evalboolean--shellboolean--tlsboolean--quietboolean--nodbboolean--norcfigcompletionBefore it fills your prompt, Otty checks the installed mongosh against its version. A form that does not match your version is not offered.