- Installing the Database Tools on Windows¶
- Overview¶
- Versioning¶
- Compatibility¶
- MongoDB Server Compatibility¶
- Platform Support¶
- Installation¶
- Download the Database Tools MSI installer.В¶
- Run the MSI installer.В¶
- Make the DB Tools available in your PATH .В¶
- The MongoDB Database Tools Documentation¶
- Versioning¶
- Installation¶
- Additional Resources¶
- Issues¶
- Community¶
- Licensing¶
- Further Reading¶
Installing the Database Tools on Windows¶
Overview¶
The MongoDB Database Tools are a suite of command-line utilities for working with MongoDB. Use this guide to install the Database Tools on the Windows platform.
Versioning¶
Starting with MongoDB 4.4, the MongoDB Database Tools are now released separately from the MongoDB Server and use their own versioning, with an initial version of 100.0.0 . Previously, these tools were released alongside the MongoDB Server and used matching versioning.
For documentation on the MongoDB 4.2 or earlier versions of these tools, reference the MongoDB Server Documentation for that version of the tool:
Compatibility¶
MongoDB Server Compatibility¶
MongoDB Database Tools version 100.3.1 supports the following versions of the MongoDB server:
- MongoDB 4.4
- MongoDB 4.2
- MongoDB 4.0
- MongoDB 3.6
While the tools may work on earlier versions of MongoDB server, any such compatibility is not guaranteed.
Platform Support¶
The MongoDB Database Tools version 100.3.1 are supported on:
- Windows 8 and later
- Windows Server 2012 and later
Installation¶
The MongoDB Database Tools can be installed with an MSI installer, or downloaded as a ZIP archive. Select the tab below depending on your desired installation method:
Download the Database Tools MSI installer.В¶
Open the MongoDB Download Center. Using the drop-down menu on the right-hand side of the page:
- Select the Windows x86_64 Platform
- Select the msi Package
- Click the Download button
Run the MSI installer.В¶
Double-click the downloaded MSI installer to install the Database Tools. During the install you may customize the installation directory if desired.
Make the DB Tools available in your PATH .В¶
You may wish to make the Database Tools available in your system’s PATH environment variable, which allows referencing each tool directly on the command prompt by name, without needing to specify its full path, or first navigating to its parent directory.
Once you’ve installed the Database Tools, follow the instructions below to add the install directory to your system’s PATH environment variable.:
- Open the Control Panel .
- In the System and Security category, click System .
- Click Advanced system settings . The System Properties modal displays.
- Click Environment Variables .
- In the System variables section, select Path and click Edit . The Edit environment variable modal displays.
- Click New and add the filepath to the location where you installed the Database Tools.
- Click OK to confirm your changes. On each other modal, click OK to confirm your changes.
Once set, you can run any of the Database Tools directly from your command prompt. Consult the reference page for the specific tool you wish to use for its full syntax and usage.
В© MongoDB, Inc 2008-present. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB, Inc.
The MongoDB Database Tools Documentation¶
The MongoDB Database Tools are a collection of command-line utilities for working with a MongoDB deployment. The Database Tools include the following binaries:
Versioning¶
Starting with MongoDB 4.4, the MongoDB Database Tools are now released separately from the MongoDB Server and use their own versioning, with an initial version of 100.0.0 . Previously, these tools were released alongside the MongoDB Server and used matching versioning.
For documentation on the MongoDB 4.2 or earlier versions of these tools, reference the MongoDB Server Documentation for that version of the tool:
Installation¶
The MongoDB Database Tools can be downloaded from the MongoDB Download Center.
Please see the installation guide for your platform for specific installation instructions.
Additional Resources¶
Issues¶
For instructions on how to file a JIRA ticket for the MongoDB server or one of the related projects, see https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.
Community¶
Getting involved in the MongoDB community is a great way to build relationships with other talented and like minded engineers, increase awareness for the interesting work that you are doing, and sharpen your skills. To learn about the MongoDB community, see Get Involved with MongoDB.
Licensing¶
For information on MongoDB licensing, see MongoDB Licensing.
Further Reading¶
В© MongoDB, Inc 2008-present. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB, Inc.