For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Install MongoDB

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

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.

This section contains information on installing MongoDB.

Note

If you installed MongoDB using a package manager such as APT, DNF, or Zypper, use your operating system's package management tool to upgrade within Patch Releases. For Major and Rapid follow the installation instructions for your OS.

MongoDB installation tutorials are available for the following platforms, for both the Community Edition and the Enterprise Edition:

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

For details on supported platforms, see: