Wingetlywingetly
← All apps

MongoDB Shell

by MongoDB Inc.v2.14.0

Last updated

The mongo shell is an interactive JavaScript interface to MongoDB.

Install with winget

$ winget install --id MongoDB.Shell --exact --version 2.14.0

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Silent install command for MongoDB Shell

MongoDB Shell uses MSI (WiX). The silent install switches are /quiet /norestart.

One-line silent install (x64, machine scope)
msiexec.exe /i mongosh-2.14.0-x64.msi /quiet /norestart

See the full silent install reference for MongoDB Shell →

Built by Pckgr

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 trial

From $49/month. No credit card required.

Not on Intune? Pckgr RMM deploys and patches apps like this one on any Windows fleet. Free for up to 5 devices.

About

The mongo shell is an interactive JavaScript interface to MongoDB. You can use the mongo shell to query and update data as well as perform administrative operations.

Installers · v2.14.0

ArchitectureTypeScopeInstallDownload
x64MSI
WiX
machineDirect

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

  • medium6.5Patched in wingetCVE-2026-82076affects before 7.0.41, 8.0.30, 8.2.13, 8.3.9Sep 8, 2026

    An integer overflow in the query planning component of MongoDB Server can allow an authenticated user with ordinary database-level read/write privileges to bypass an internal resource limit. Submitting a specially crafted query causes the server to consume memory without bound d...

  • high7.5Patched in wingetCVE-2026-82075affects before 7.0.41, 8.0.30, 8.3.9Sep 8, 2026

    An uncontrolled resource consumption weakness exists in the request-handling path of the MongoDB sharded-cluster router process. A client that has network access to a router port and has not authenticated can supply connection-monitoring parameters that cause the server to expen...

  • medium6.5Patched in wingetCVE-2026-82074affects before 7.0.41, 8.0.30Sep 8, 2026

    MongoDB Server contains an incorrect authorization vulnerability in the aggregation framework. An authenticated user with minimal privileges can craft a specially formatted aggregation request that causes the server's authorization subsystem to evaluate a different operation tha...

  • medium6.5Patched in wingetCVE-2026-82073affects before 8.3.9Sep 8, 2026

    A security issue in the MongoDB Server aggregation framework allows an authenticated user with limited read privileges to bypass view-level authorization checks and access data from unauthorized collections when Atlas Search features are in use. The issue stems from insufficient...

  • high8.1Patched in wingetCVE-2026-82071affects before 8.3.9Sep 8, 2026

    Insufficient validation of storage engine configuration options in MongoDB Server allows an authenticated user with write privileges to supply crafted parameters during collection creation that override internal storage metadata. This results in an out-of-bounds memory write in...

  • medium6.5Patched in wingetCVE-2026-82070affects before 7.0.40, 8.0.29, 8.3.8Sep 8, 2026

    A security issue in MongoDB Server's diagnostic reporting interface allows an authenticated user with monitoring privileges to access insufficiently protected credentials from concurrent administrative operations. The same credentials are properly redacted in server log output,...

  • low2.7Patched in wingetCVE-2026-82069affects before 8.3.9Sep 8, 2026

    A security issue in MongoDB Server's query statistics serialization on the router allows users with monitoring privileges to access unredacted search query text from other users' operations. An improper conditional check in the serialization logic causes the data redaction mecha...

  • medium6.5Patched in wingetCVE-2026-82068affects before 7.0.41, 8.0.30, 8.3.9Sep 8, 2026

    A security issue in MongoDB Server allows an authenticated user with write privileges to trigger a persistent fatal assertion crash by sending specially crafted retryable write commands. The crash state is durably persisted, causing the server process to repeatedly crash on rest...

Showing 8 of 25. Source: NVD, updated 4h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

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.

Not on Intune? Patch it with Pckgr RMM, free for up to 5 devices.

Related apps

  • MongoDBMongoDB Inc.
    MongoDB.Serverv9.0.4

    MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era.

  • MongoDB ToolsMongoDB Inc.
    MongoDB.DatabaseToolsv100.20.0

    The MongoDB Database Tools are a collection of command-line utilities for working with a MongoDB deployment.

  • PowerShellMicrosoft Corporation
    Microsoft.PowerShellv7.6.9.0

    PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.

  • PostgreSQL 10PostgreSQL Global Development Group
    PostgreSQL.PostgreSQL.10v10

    The World's Most Advanced Open Source Relational Database

  • XTerminalXterminal
    JiLuo.Xterminalv5.8.6

    更好用的开发工具,但不止于 SSH/控制台/More

  • PostgreSQL 17PostgreSQL Global Development Group
    PostgreSQL.PostgreSQL.17v17.11-5

    The World's Most Advanced Open Source Relational Database

More from MongoDB Inc. or browse db, mongo, mongodb.

Frequently asked questions

How do I install MongoDB Shell on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id MongoDB.Shell --exact --version 2.14.0. winget downloads the installer from MongoDB Inc. and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install MongoDB Shell silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id MongoDB.Shell --exact 2.14.0 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for MongoDB Shell?
MongoDB Shell uses MSI (WiX). Run the downloaded installer with: msiexec.exe /i mongosh-2.14.0-x64.msi /quiet /norestart. The silent switches are /quiet /norestart.
How do I uninstall MongoDB Shell via winget?
Run: winget uninstall --id MongoDB.Shell --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from MongoDB Shell's Apps & Features entry.
Is MongoDB Shell free?
MongoDB Shell is distributed under Apache License 2.0. Refer to the publisher (https://www.mongodb.com/products/shell) for the full license terms - Wingetly itself does not charge for installation.
Does MongoDB Shell work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls MongoDB Shell directly from the publisher.
How do I keep MongoDB Shell up to date?
Run winget upgrade --id MongoDB.Shell --exact, or winget upgrade --all to update everything winget tracks. We index 10 versions of MongoDB Shell from microsoft/winget-pkgs.

Recent versions

  • 2.14.0latest
  • 2.13.0
  • 2.12.0
  • 2.11.1
  • 2.9.2
  • 2.9.1
  • 2.9.0
  • 2.8.3
  • 2.8.2
  • 2.8.1