Downloads of v 3.2.6:


Last Update:

27 May 2016

Package Maintainer(s):

Software Author(s):

  • MongoDB Inc


cli database nosql admin

MongoDB (Install)

This is not the latest version of MongoDB (Install) available.

  • 1
  • 2
  • 3

3.2.6 | Updated: 27 May 2016



Downloads of v 3.2.6:



Software Author(s):

  • MongoDB Inc

  • 1
  • 2
  • 3
MongoDB (Install) 3.2.6

This is not the latest version of MongoDB (Install) available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install MongoDB (Install), run the following command from the command line or from PowerShell:


To upgrade MongoDB (Install), run the following command from the command line or from PowerShell:


To uninstall MongoDB (Install), run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade mongodb.install -y --source="'INTERNAL REPO URL'" --version="'3.2.6'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade mongodb.install -y --source="'INTERNAL REPO URL'" --version="'3.2.6'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install mongodb.install
    name: mongodb.install
    version: '3.2.6'
    state: present

See docs at

chocolatey_package 'mongodb.install' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.2.6'

See docs at

cChocoPackageInstaller mongodb.install
    Name     = "mongodb.install"
    Version  = "3.2.6"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'mongodb.install':
  ensure   => '3.2.6',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved by moderator ferventcoder on 28 May 2016.


MongoDB (from "humongous") is a scalable, high-performance, open source NoSQL database written in C++.

MongoDB stores data using a flexible document data model that is similar to JSON. Documents contain one or more fields, including arrays, binary data and sub-documents. Fields can vary from document to document. This flexibility allows development teams to evolve the data model rapidly as their application requirements change.

Developers access documents through rich, idiomatic drivers available in all popular programming languages. Documents map naturally to the objects in modern languages, which allows developers to be extremely productive. Typically, there’s no need for an ORM layer.

$packageName = 'mongodb.install'
$installerType = 'msi'
$silentArgs = '/quiet /qn /norestart'
$url = ''
$checksum = '4b8f487e14bf4b3b3c3f789a4ffbafbf77e356ca5944597ce696feb9788c5ca5'
$checksumType = 'sha256'
$url64 = ''
$checksum64 = '75fcbf9605b6aed9d2a0b7028e6fe371b9f2f9c69f0f1bef7bd5a4b55df50e17'
$checksumType64 = 'sha256'
$validExitCodes = @(0,3010)

Install-ChocolateyPackage -PackageName "$packageName" `
                          -FileType "$installerType" `
                          -SilentArgs "$silentArgs" `
                          -Url "$url" `
                          -Url64bit "$url64" `
                          -ValidExitCodes $validExitCodes `
                          -Checksum "$checksum" `
                          -ChecksumType "$checksumType" `
                          -Checksum64 "$checksum64" `
                          -ChecksumType64 "$checksumType64"
$packageName = 'mongodb.install'
$packageSearch = "$packageName*"
$installerType = 'msi'
$silentArgs = '/quiet /qn /norestart'
$validExitCodes = @(0,3010)

Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                         'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                 -ErrorAction:SilentlyContinue `
| Where-Object   {$_.DisplayName -like $packageSearch} `
| ForEach-Object {Uninstall-ChocolateyPackage -PackageName $packageName `
                                              -FileType $installerType `
                                              -SilentArgs "$($_.PSChildName) $silentArgs" `
                                              -ValidExitCodes $validExitCodes}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
MongoDB (Install) 6.0.0-rc9 114 Thursday, June 9, 2022 Exempted
MongoDB (Install) 6.0.0-rc8 37 Wednesday, June 1, 2022 Exempted
MongoDB (Install) 6.0.0-rc7 49 Wednesday, May 25, 2022 Exempted
MongoDB (Install) 6.0.0-rc6 34 Wednesday, May 18, 2022 Exempted
MongoDB (Install) 6.0.0-rc5 56 Wednesday, May 11, 2022 Exempted
MongoDB (Install) 6.0.0-rc4 32 Wednesday, May 4, 2022 Exempted
MongoDB (Install) 6.0.0-rc3 27 Thursday, April 28, 2022 Exempted
MongoDB (Install) 6.0.0-rc1 32 Thursday, April 21, 2022 Exempted
MongoDB (Install) 6.0.0-rc0 40 Thursday, April 14, 2022 Exempted



  • Automatically built and uploaded by dtgm

This package has no dependencies.

Discussion for the MongoDB (Install) Package

Ground Rules:

  • This discussion is only about MongoDB (Install) and the MongoDB (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or MongoDB (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus