macOS
brew install mongoshlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für mongosh in AI-Agent-Workflows.
Installation
brew install mongoshlocal Homebrew formula metadata
nix profile install nixpkgs#mongoshnixpkgs package indexes · pkgs/by-name/mo/mongosh/package.nix · Quelle: api.github.com
scoop install extras/mongoshScoop official bucket manifest trees · bucket/mongosh.json · Quelle: api.github.com
Überblick
MongoDB Shell to connect, configure, query, and work with your MongoDB database
Verlauf
mongosh is the MongoDB Shell, MongoDB's modern JavaScript and Node.js REPL for interacting with MongoDB deployments in Atlas, local installations, or remote hosts. MongoDB introduced the first preview on 2020-06-08 after deciding that extending the legacy mongo shell was not the right path for a growing MongoDB platform.
The redesign focused on a shell that could be extensible, embeddable in other products, and easier to use in terminals. The public changelog records mongosh v1.0 on 2021-07-09, after a preview series that added features such as transactions support, AWS IAM authentication, script loading, --eval, .mongoshrc.js customization, MongoDB 5.0 support, Stable API-aware autocomplete, and snippets. The GitHub repository is a monorepo for shell components across REPL, browser, Compass, and related environments.
Users run mongosh to test queries, inspect and change data, configure settings, and script database operations with shell helpers on top of the MongoDB driver. MongoDB distributes it as an Apache-2.0 standalone product separate from the MongoDB Server, and package managers such as Homebrew, Nix, and Scoop make it available independently from server releases.
Sicherheitslage
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
yellow Risiko · mittel Konfidenz · runtime
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
mongosh | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://www.mongodb.com/try/download/shell
Installationsmetadaten
| Paketschlüssel | brew:mongosh |
|---|---|
| Version | 2.9.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/mongosh |
| Homepage | https://www.mongodb.com/try/download/shell |
| Repository | https://github.com/mongodb-js/mongosh |
| Upstream-Dokumentation | https://www.mongodb.com/docs/mongodb-shell |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://registry.npmjs.org/@mongosh/cli-repl/-/cli-repl-2.9.2.tgz |
| Zuletzt aktualisiert | 2026-07-20T13:51:29-04:00 |
| Pulse | updated |
| Abhängigkeiten | node |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mongosh |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
mongosh
nix profile install nixpkgs#mongoshextras/mongosh
scoop install extras/mongoshQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.