Install MongoDB Community Edition
MongoDB 5.0 is end of life as of October 2024. This version of the documentation is no longer
supported. To upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
Note
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.
These documents provide instructions to install 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 MongoDB archives.
- Install on Windows
- Install MongoDB Community Edition on Windows systems and optionally start MongoDB as a Windows service.
- Install with Docker
- Install a MongoDB Community Docker container.