MongoDB Shell

active database 4.5 📝 Report issue

mongosh is the official next-generation MongoDB shell, replacing the legacy mongo shell. It provides a fully featured JavaScript REPL for querying collections, running aggregation pipelines, and administering MongoDB deployments. It supports syntax highlighting, intelligent autocompletion, and can connect to Atlas clusters, replica sets, and standalone instances.

#database#mongodb#nosql#query-tool

⌨️ Install

standalone

CLI

brew official
brew install mongosh

What it can do

  • query and aggregate data in MongoDB collections interactively
  • run administrative commands to manage indexes, users, and replica set configuration
  • execute JavaScript scripts against a database for data migration or cleanup

Comments

Rating:
0 / 1000 chars
Loading…