>_MongoDB ShellOfficial
@mongodb-js
About MongoDB Shell
The official interactive JavaScript shell for MongoDB.
#mongosh#database#product-service-cli#official#mongodb-shell
Installation
brew install mongoshWhat it does
Query and inspect data
Terminal-based workflow
Scriptable output
Command examples
- 1
mongosh - 2
mongosh mongodb://localhost:27017/app
Details
More Database CLIs
DuckDB CLI
$ duckdb
Query local files and analytical datasets with an in-process SQL database.
Neon CLI
$ neonctl
Manage Neon projects, Postgres branches, databases, roles, connection strings, and API keys.
Supabase CLI
$ supabase
Run Supabase locally, manage database migrations, deploy Edge Functions, and generate database types.
Datasette
$ datasette
Explore and publish structured data through a CLI and web interface.
Hasura CLI
$ hasura
Manage Hasura metadata, migrations, seeds, console sessions, and GraphQL Engine projects.
MongoDB Atlas CLI
$ atlas
Manage MongoDB Atlas clusters, projects, users, networking, backups, and local deployments.
Comments