MongoDB CLI
Last updated
The MongoDB CLI is a modern command line interface that enables you to manage your MongoDB services from the terminal.
Install with winget
$ winget install --id MongoDB.MongoDBCLI --exact --version 2.0.7Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
Silent install command for MongoDB CLI
MongoDB CLI uses MSI (WiX). The silent install switches are /quiet /norestart.
msiexec.exe /i mongocli_2.0.7_windows_x86_64.msi /quiet /norestart
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
Installers · v2.0.7
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x64 | MSI WiX | machine | Direct |
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
25 known CVEs via NVD
A component of the MongoDB extension for Visual Studio Code does not neutralize special characters in a connection string before that value is placed into a command line the extension composes for an integrated terminal. An unauthenticated remote unauthorized-user who persuades...
The ldapQueryPassword parameter, when set through the runtime setParameter command, will log the new password to the mongod.log file in plain text.
An authenticated user can cause a MongoDB server to crash or return incorrect results by creating documents that interfere with internal metadata processing during query execution. This stems from insufficient separation between user-controlled document fields and internal metad...
The $_internalConvertBucketIndexStats stage used PauseExecution as a way to signal "skip this document" when an index stats conversion failed. But PauseExecution is not a general purpose skip mechanism, but rather a TeeBuffer-internal signal used solely by $facet to coordinate i...
Adding fromRouter:true and runtimeConstants.userRoles could cause aggregations to crash mongodb server.
In MongoDB Server 8.0, an aggregation stage can leave its _subPipeline field null during processing of certain pipelines. If a getMore is subsequently issued on the same cursor, the server may dereference this null sub-pipeline when reattaching to the operation context, accessin...
A vulnerability in MongoDB Server's BSON validation logic allows an unauthenticated user to crash the mongod process by sending a specially crafted message. The BSON validator's handling of certain nested binary data structures permits uncontrolled mutual recursion between valid...
MongoDB server may log authentication parameters, including credentials, to the server log during SASL authentication. When connection health metric logging is enabled, the full authentication parameters are written to the log without redaction.
See a CVE that affects your fleet? Push the patched version to Intune in one click with Pckgr - automated patching is the only way to keep up.
Related apps
More from MongoDB, Inc. or browse db, mongo, mongodb.
Frequently asked questions
How do I install MongoDB CLI on Windows?
How do I install MongoDB CLI silently for unattended deployment?
What are the silent install switches for MongoDB CLI?
How do I uninstall MongoDB CLI via winget?
Is MongoDB CLI free?
Does MongoDB CLI work on Windows 10?
How do I keep MongoDB CLI up to date?
Recent versions
- 2.0.7latest
- 2.0.6
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.30.0
- 1.26.1
- 1.26.0