MongoDB Shell
The official interactive command-line shell, mongosh, for querying and administering MongoDB databases.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get MongoDB Shell
Package managers
- Chocolatey
choco install mongodb-shell
About MongoDB Shell
MongoDB Shell, run as mongosh, is MongoDB's interactive command-line interface. You use it to connect to a MongoDB deployment, test queries and work with the data in your databases, as well as carry out administrative tasks.
It suits developers and administrators who prefer a terminal, and complements MongoDB Compass for those who want a graphical client.
Strengths
- Official tool maintained by MongoDB
- Interactive querying and administration from the terminal
- Works with self-managed MongoDB and Atlas
Limitations
- Command line only, no graphical interface
- Only works with MongoDB
Details
- Pricing
- FreeFree to download and use.
- License
- Proprietary
- Developer
- MongoDB
- Platforms
- Windows, macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Best suited for
- Developers and admins working with MongoDB from a terminal
- Categories
- Database tools, Developer tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to MongoDB Shell
Compare allSoftware that can replace MongoDB Shell for an important use case, and what changes if you switch.
MongoDB Compass
MongoDB's own graphical client for exploring collections, building aggregation pipelines and checking query performance.
MongoDB Compass is MongoDB's free graphical client, adding a visual aggregation pipeline builder and explain plans, though it is Electron-based and heavy compared with the shell.
Studio 3T
A desktop GUI and IDE for querying, managing and governing MongoDB databases.
Studio 3T is a paid, proprietary MongoDB GUI with plain-English querying, an audit trail and central connection access control, replacing terminal work with a desktop interface.
NoSQLBooster
A cross-platform GUI and IDE for MongoDB with SQL querying, script debugging and server monitoring.
NoSQLBooster is a closed-source MongoDB desktop IDE that accepts SQL as well as shell syntax, with a script debugger and task scheduler, and some features need a paid license.
Mongo Express
A web-based admin interface for MongoDB, written in Node.js and Express.
Mongo Express is an open-source Node.js web admin interface for MongoDB, easy to run in Docker but needing care to secure since it exposes the database over HTTP.
Similar software
Related functionality, not necessarily a direct replacement.
mongodump
A MongoDB command-line tool that writes a binary BSON export of a database for backup or migration.
DbGate
One database client for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite, Redis and a dozen more, on desktop or as a web app.
WhoDB
A lightweight open-source database explorer for SQL, NoSQL and Redis with AI-assisted querying.
usql
Use one command-line interface for many database systems.