Docs Menu
Docs Home
/

Install MongoDB

Important

MongoDB 8.2 is the latest minor release. Starting with MongoDB 8.2, minor releases are available for on-premises deployments (MongoDB Community and Enterprise) for specific use cases. For more information, see MongoDB Versioning.

To install the latest MongoDB version supported for on-premises use, see the installation instructions.

MongoDB is available in two server editions: Community and Enterprise.

This section contains information on installing MongoDB.

Note

If you installed MongoDB using a package manager such as APT, DNF, or Zypper, use your operating system's package management tool to upgrade within Patch Releases. For Major and Minor releases, follow the installation instructions for your OS.

MongoDB installation tutorials are available for both Community Edition and Enterprise Edition on the following platforms:

To install MongoDB Community Edition, see Install MongoDB Community Edition. Select your platform and follow the instructions for your operating system.

To install MongoDB Enterprise Edition, select the tutorial for your platform and follow the instructions for your operating system.

Platform
Tutorial

Linux

macOS

Windows

Docker

Important

Do not use these instructions to upgrade to another release version. To upgrade release versions, refer to the appropriate release upgrade instructions, such as Upgrade to MongoDB 8.2.

For details on supported platforms, see:

Next

Community Edition

Earn a Skill Badge

Master "MongoDB Architecture Essentials" for free!

Learn more

On this page