No description
  • C++ 63.4%
  • JavaScript 26.6%
  • Python 5.3%
  • Starlark 1.9%
  • yaml 1.3%
  • Other 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Serhii Lysenko a214562511 SERVER-136263 Materialize SBE MinKey/MaxKey as values, not objects (#66742)
GitOrigin-RevId: 99f5c0e0e5f5b8a213b7226062965d62c954379e
2026-11-27 19:49:48 +00:00
.devcontainer SERVER-138211: Reuse existing devcontainer users and groups (#65569) 2026-11-09 21:58:49 +00:00
.github SERVER-133363: remove OWNERS file from .github/workflows/ so GitHub stops attempting to run it as a workflow (#60895) 2026-08-12 19:07:13 +00:00
.tmp SERVER-114982: Enable compressed bazel exec log by default (#44882) 2025-12-08 20:42:56 +00:00
.vscode_defaults SERVER-136751: Restore editor clang-format wrapper with Windows test guard (#64208) 2026-10-19 18:09:07 +00:00
bazel SERVER-139852: Fix clang-cl prefix mapping in Cargo build scripts (#67437) 2026-11-27 06:33:46 +00:00
buildscripts SERVER-138460 Accept only Fix and Depends links as fix work (#67405) 2026-11-27 15:56:18 +00:00
debian SERVER-129703 Update Man Pages for 9.0 (#60796) 2026-08-11 20:01:07 +00:00
distsrc SERVER-121793: prettier-format README files (#49712) 2026-03-17 22:41:45 +00:00
docs SERVER-130246 Enforce strict: false on reply structs in IDL compatibility checker [reapply] (#65511) 2026-11-23 10:32:38 +00:00
etc SERVER-138693 Add trimmed Evergreen config for main-staging-poc (#66150) 2026-11-26 22:43:24 +00:00
evergreen SERVER-139781: Default Windows cross builds and migrate Evergreen tasks to WSL2 (#66113) 2026-11-27 01:56:39 +00:00
jstests SERVER-136263 Materialize SBE MinKey/MaxKey as values, not objects (#66742) 2026-11-27 19:49:48 +00:00
modules_poc SERVER-131693 Split IFR machinery out of feature_flag.{h,cpp} (#65900) 2026-11-26 22:45:08 +00:00
rpm SERVER-137799 Restore release package hash checks with portable tests (#65192) 2026-11-02 17:23:28 +00:00
src SERVER-136263 Materialize SBE MinKey/MaxKey as values, not objects (#66742) 2026-11-27 19:49:48 +00:00
tools SERVER-139781: Default Windows cross builds and migrate Evergreen tasks to WSL2 (#66113) 2026-11-27 01:56:39 +00:00
x509 SERVER-137802: Run Windows cross Python generators with Linux runtimes (#65032) 2026-11-10 20:22:30 +00:00
.bazelignore SERVER-137132: Migrate release-container to bazel and uv (#64413) 2026-10-22 18:32:21 +00:00
.bazeliskrc SERVER-133606 Upgrade to bazel 9 (#62559) 2026-09-18 22:18:52 +00:00
.bazelrc SERVER-139781: Default Windows cross builds and migrate Evergreen tasks to WSL2 (#66113) 2026-11-27 01:56:39 +00:00
.bazelrc.fuzztest SERVER-118522 Vendor Fuzztest (#47328) 2026-02-06 19:34:13 +00:00
.bazelrc.local.example
.bazelrc.sync
.bazelrc.target_mongo_version SERVER-133047: auto-bump MONGO_VERSION on tag creation for promotable builds (#59822) 2026-08-11 16:31:54 +00:00
.bazelversion SERVER-133606 Upgrade to bazel 9 (#62559) 2026-09-18 22:18:52 +00:00
.clang-format
.clang-tidy.in SERVER-136326 Enable clang-tidy bugprone-argument-comment (#63904) 2026-10-15 20:45:30 +00:00
.editorconfig
.gdbinit SERVER-125403 Move shared gdb pretty printer utilities into their own module (#53137) 2026-05-07 14:30:09 +00:00
.git-blame-ignore-revs SERVER-128904: blame-ignore recent js formatting (#56116) 2026-06-16 20:07:13 +00:00
.gitattributes SERVER-119997 Dont run prettier on monguard directory 2026-02-20 18:58:49 +00:00
.gitignore SERVER-139721: Add independent toolchain sysroot publication and validation (#67261) 2026-11-26 16:38:36 +00:00
.lldbinit
.mypy.ini SERVER-121511: Update remaining Python 3.10 references to 3.13 (#49522) 2026-03-17 22:04:32 +00:00
.npmrc
.prettierignore SERVER-135924: update mongo driver to 2.5.5 (#63918) 2026-10-14 22:36:25 +00:00
.prettierrc SERVER-127993: Set JS line width to 100 for consistency (#55715) 2026-06-15 18:31:14 +00:00
BUILD.bazel SERVER-138547 Use target architecture in cross-compiled archive directory names (#65950) 2026-11-10 22:38:57 +00:00
CONTRIBUTING.rst
CreativeCommons.txt
cspell.json SERVER-131292: add cstring to cspell.json and make that file explicitly unowned (#58433) 2026-07-17 17:58:48 +00:00
eslint.config.mjs SERVER-128832 Prevent use of ModuleLoader in server side JS (#55777) 2026-07-30 15:30:02 +00:00
jsconfig.json SERVER-126888: Add a high-resolution timer for perf testing in jstests (#53877) 2026-05-20 18:14:42 +00:00
LICENSE-Community.txt
MODULE.bazel SERVER-139500: Prepare Windows cross builds for the final switchover (#66298) 2026-11-24 16:57:20 +00:00
MODULE.bazel.lock SERVER-139852: Fix clang-cl prefix mapping in Cargo build scripts (#67437) 2026-11-27 06:33:46 +00:00
OWNERS.yml SERVER-122886 Move mongo toolchain and remaining dependencies over to Module.bazel (#61127) 2026-08-20 00:59:00 +00:00
package.json SERVER-126414 Add linter rule to prevent jstests from committing .only() with mochalite (#53658) 2026-05-13 15:26:47 +00:00
pnpm-lock.yaml SERVER-126414 Add linter rule to prevent jstests from committing .only() with mochalite (#53658) 2026-05-13 15:26:47 +00:00
pyproject.toml SERVER-138301: Audit public PR ancestry for historically excluded content (#65462) 2026-11-27 06:35:54 +00:00
README.md SERVER-124136 Format markdown via prettier: wrap lines and use width of 100 (#52231) 2026-04-21 19:20:11 +00:00
README.third_party.md SERVER-129061 Auto-generated SBOM files [master] (#65651) 2026-11-20 23:20:30 +00:00
sbom.json SERVER-129061 Auto-generated SBOM files [master] (#65651) 2026-11-20 23:20:30 +00:00
uv.lock SERVER-138301: Audit public PR ancestry for historically excluded content (#65462) 2026-11-27 06:35:54 +00:00

Logo MongoDB README

Welcome to MongoDB!

Components

  • mongod - The database server.
  • mongos - Sharding router.

Download MongoDB

Download the MongoDB Shell

Building

See Building MongoDB.

Running

For command line options invoke:

$ ./mongod --help

To run a single server database:

$ sudo mkdir -p /data/db
$ ./mongod
$
$ # The mongosh shell connects to localhost and test database by default:
$ ./mongosh
test> help

Installing Compass

You can install compass using the install_compass script packaged with MongoDB:

$ ./install_compass

This will download the appropriate MongoDB Compass package for your platform and install it.

Drivers

Client drivers for most programming languages are available at https://docs.mongodb.com/manual/applications/drivers/.

Bug Reports

See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.

Packaging

Packages are created dynamically by the buildscripts/packager.py script. This will generate RPM and Debian packages.

Learn MongoDB

Cloud Hosted MongoDB

https://www.mongodb.com/cloud/atlas

Forums

LICENSE

MongoDB is free and the source is available. Versions released prior to October 16, 2018 are published under the AGPL. All versions released after October 16, 2018, including patch fixes for prior versions, are published under the Server Side Public License (SSPL) v1. See individual files for details which will specify the license applicable to each file. Files subject to the SSPL will be noted in their headers.