Navigation
This is an upcoming (i.e. in progress) version of the manual.

Install MongoDB

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

MongoDB Atlas

MongoDB Atlas is a hosted MongoDB service option in the cloud which requires no installation overhead and offers a free tier to get started.

This section of the manual contains information on installing MongoDB.

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 4.2.

Supported Platforms

Changed in version 3.4: MongoDB no longer supports 32-bit x86 platforms.

x86_64

Platform Support EOL Notice

Windows 8.1 / Server 2012 R2 Support removed in MongoDB 4.4+.
Windows 8 / Server 2012 Support removed in MongoDB 4.4+.
Windows 7 / Server 2008 R2 Support removed in MongoDB 4.4+.
macOS 10.12 Support removed in MongoDB 4.4+.

Platform 4.4 Community & Enterprise 4.2 Community & Enterprise 4.0 Community & Enterprise 3.6 Community & Enterprise
Amazon Linux 2  
Amazon Linux 2013.03 and later
Debian 10 4.2.1+    
Debian 9 3.6.5+
Debian 8    
RHEL/CentOS/Oracle Linux [1] 8.0 and later 4.2.1+ 4.0.14+ 3.6.17+
RHEL/CentOS/Oracle Linux [1] 7.0 and later
RHEL/CentOS/Oracle Linux [1] 6.2 and later
SLES 15 4.2.1+    
SLES 12
Ubuntu 18.04 4.0.1+  
Ubuntu 16.04
Ubuntu 14.04    
Windows Server 2019    
Windows 10 / Server 2016
Windows 8.1 / Server 2012 R2  
Windows 8 / Server 2012  
Windows 7 / Server 2008 R2  
macOS 10.13 and later  
macOS 10.12  
macOS 10.11    
macOS 10.10      
[1](1, 2, 3) MongoDB only supports Oracle Linux running the Red Hat Compatible Kernel (RHCK). MongoDB does not support the Unbreakable Enterprise Kernel (UEK).

ARM64

Platform Support EOL Notice

Ubuntu 16.04 ARM64 Support removed in MongoDB Community 4.2+.

Platform 4.4 Community & Enterprise 4.2 Community & Enterprise 4.0 Community & Enterprise 3.6 Community & Enterprise
Ubuntu 18.04 Community only Community only    
Ubuntu 16.04 Enterprise only Enterprise only

PPC64LE (MongoDB Enterprise Edition)

Platform Support EOL Notice

Ubuntu 16.04 PPC64LE Support removed in MongoDB 4.2+.

Platform 4.4 Enterprise 4.2 Enterprise 4.0 Enterprise 3.6 Enterprise
RHEL/CentOS 7
Ubuntu 18.04    
Ubuntu 16.04     Removed starting in 3.6.13

s390x

Platform 4.4 Community & Enterprise 4.2 Community & Enterprise 4.0 Enterprise 3.6 Enterprise
RHEL/CentOS 7 4.0.6+ Removed starting in 3.6.2
RHEL/CentOS 6 Removed starting in 3.6.14
SLES12 4.0.6+ Removed starting in 3.6.2
Ubuntu 18.04 4.2.1+ 4.0.6+