macOS
brew install mongoshlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mongosh pour les workflows d'agents IA.
installation
brew install mongoshlocal Homebrew formula metadata
nix profile install nixpkgs#mongoshnixpkgs package indexes · pkgs/by-name/mo/mongosh/package.nix · Source: api.github.com
scoop install extras/mongoshScoop official bucket manifest trees · bucket/mongosh.json · Source: api.github.com
aperçu
MongoDB Shell to connect, configure, query, and work with your MongoDB database
historique
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.
posture de sécurité
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
risque yellow · confiance moyen · runtime
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
mongosh | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://www.mongodb.com/try/download/shell
métadonnées d'installation
| Clé du paquet | brew:mongosh |
|---|---|
| Version | 2.9.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/mongosh |
| Page d'accueil | https://www.mongodb.com/try/download/shell |
| Dépôt | https://github.com/mongodb-js/mongosh |
| Docs amont | https://www.mongodb.com/docs/mongodb-shell |
| Licence | Apache-2.0 |
| Archive source | https://registry.npmjs.org/@mongosh/cli-repl/-/cli-repl-2.9.2.tgz |
| Dernière mise à jour | 2026-07-20T13:51:29-04:00 |
| Pulse | updated |
| Dépendances | node |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
mongosh
nix profile install nixpkgs#mongoshextras/mongosh
scoop install extras/mongoshpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.