Navigation

Install MongoDB

MongoDB is released as two editions: Community and Enterprise. Community is the open source release of MongoDB. Enterprise provides additional administration, authentication, and monitoring features. Installation steps vary depending on the edition; both procedures are outlined in this section.

For upgrade instructions, see Upgrade Procedures instead.

Note

New in version 3.6: Each MongoDB installer is packaged with a platform-specific MongoDB Compass installation script. This script installs MongoDB Compass as part of the MongoDB Server installation process.

Supported Platforms

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

x86_64

Platform Support EOL Notice

  • Support for SLES 11 has been removed in MongoDB 3.2.20+, 3.4.15+, and 3.6.4+.
  • Support for Ubuntu 12.04 has been removed in MongoDB 3.2.20+, 3.4.15+, and 3.6.4+.
  • Support for Debian 7 has been removed in MongoDB 4.0.
Platform 4.0 Community & Enterprise 3.6 Community & Enterprise 3.4 Community & Enterprise 3.2 Community & Enterprise
Amazon Linux 2013.03 and later
Amazon Linux 2      
Debian 7  
Debian 8
Debian 9 3.6.5 and later    
RHEL/CentOS 6.2 and later
RHEL/CentOS 7.0 and later
SLES 11   EOL’d as of 3.6.4 EOL’d as of 3.4.15. EOL’d as of 3.2.20.
SLES 12  
Solaris 11 64-bit     Community only Community only
Ubuntu 12.04   EOL’d as of 3.6.4 EOL’d as of 3.4.15. EOL’d as of 3.2.20.
Ubuntu 14.04
Ubuntu 16.04
Windows Vista    
Windows 7/Server 2008 R2
Windows 8/2012 R2 and later      
macOS 10.11 and later

ARM64

Platform 4.0 Community & Enterprise 3.6 Community & Enterprise 3.4 Community & Enterprise
Ubuntu 16.04

PPC64LE (MongoDB Enterprise Edition)

Platform 4.0 Enterprise 3.6 Enterprise 3.4 Enterprise
RHEL/CentOS 7
Ubuntu 16.04

s390x

Platform 4.0 Community & Enterprise 3.6 Enterprise 3.4 Enterprise
RHEL/CentOS 6    

Tutorials

MongoDB Community Edition

Install on Linux
Install MongoDB Community Edition and required dependencies on Linux.
Install on macOS
Install MongoDB Community Edition on macOS systems from Homebrew packages or from MongoDB archives.
Install on Windows
Install MongoDB Community Edition on Windows systems and optionally start MongoDB as a Windows service.

Additional Resources