Install MongoDB¶
On this page
MongoDB is available in two server editions: Community and Enterprise.
Important
MongoDB 5.3 binaries are currently available only as release candidates. Release candidates can be used for early testing of new features, but are not suitable for production deployments.
This version of the manual is for an upcoming release and is currently a work in progress.
This section of the manual contains information on installing MongoDB.
- For instructions on upgrading your current deployment to MongoDB 5.0, see Upgrade Procedures instead.
- For instructions on upgrading to the latest patch release for your current version, see Upgrade to the Latest Revision of MongoDB instead.
MongoDB Installation Tutorials¶
MongoDB installation tutorials are available for the following platforms, for both the Community Edition and the Enterprise Edition:
Platform | Community Edition | Enterprise Edition |
---|---|---|
Linux | ||
macOS | Install MongoDB Community Edition on macOS | Install MongoDB Enterprise on macOS |
Windows | Install MongoDB Community Edition on Windows | Install MongoDB Enterprise Edition on Windows |
Docker | Install MongoDB Enterprise with Docker |
Upgrade Community Edition to Enterprise Edition Tutorials¶
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 6.0.
Supported Platforms¶
Changed in version 3.4: MongoDB no longer supports 32-bit x86 platforms.
[1] | MongoDB only supports Oracle Linux running the Red Hat Compatible Kernel (RHCK). MongoDB does not support the Unbreakable Enterprise Kernel (UEK). |
[2] | MongoDB on-premises products released for RHEL version 8.0+ are compatible with and supported on Rocky Linux version 8.0+ and AlmaLinux version 8.0+, contingent upon those distributions meeting their obligation to deliver full RHEL compatibility. |
[3] | MongoDB versions 5.0 and greater are tested against SLES 12 service pack 5. Earlier versions of MongoDB are tested against SLES 12 with no service pack. |