Select your distribution to view installation instructions for MongoDB Community Edition.
Note
By default, MongoDB Community Edition does not include MongoDB Search. To use MongoDB Search with MongoDB Community, you must install MongoDB Search with Docker or Linux separately.
About This Task
Before You Begin
Install
Start and Verify
Connect
Check Server Status.
To check the status of MongoDB, run the serverStatus command:
db.runCommand( { serverStatus: 1, none: 1, mem: 1 } ){ host: '<hostname>', version: '9.0.4', process: 'mongod', pid: Long('71115'), uptime: 61, uptimeMillis: Long('61213'), uptimeEstimate: Long('61'), localTime: ISODate("2026-10-27T16:39:04.046Z"), ok: 1, '$clusterTime': { clusterTime: Timestamp(1793119144, 1), signature: { hash: Binary.createFromBase64('AAAAAAAAAAAAAAAAAAAAAAAAAAA=', 0), keyId: Long('0') } }, operationTime: Timestamp(1793119144, 1)}Next Steps
After you install MongoDB Community Edition, you can:
Get started: Work through an introductory tutorial. To learn more, see Getting Started with MongoDB.
Set up access control: Secure your deployment with authentication. To learn how, see Enable Access Control on Self-Managed Deployments.
Review the security checklist: Confirm your deployment follows security best practices. To learn more, see Security Checklist for Self-Managed Deployments.
Deploy a Cluster
In addition to the standalone instance, you can deploy multiple instances of MongoDB Community Edition to form clusters:
Replica Sets provide redundancy to maintain high availability, making your cluster resilient in cases of network partitions and other system failures.
For details, see Deploy a Self-Managed Replica Set.
Sharded Clusters allow you to horizontally scale capacity, balancing collection data across multiple MongoDB instances or replica sets.
For details, see Deploy a Self-Managed Sharded Cluster.
Upgrade to MongoDB Enterprise
Important
Do not use these instructions to upgrade to another release version.
For general guidance on MongoDB version numbering, release types, and upgrade paths, see MongoDB Versions and Upgrade Paths.