Go to file
clarissecheah cefb4a501e SERVER-109161 [v8.0] Inconsistent state between opCtx and recovery unit after aborting WUOW (#49950)
GitOrigin-RevId: 2e966c8f36088fc52e695438cde9665add63d142
2026-03-26 20:04:40 +00:00
.github SERVER-117202 Add server-release as code owner for wiredtiger source folder (#46414) (#46551) 2026-01-22 17:55:33 +00:00
.vscode_defaults SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +00:00
bazel SERVER-110304 [v8.0] Update BES Branch Keyword to use Evergreen Branch Name (#46925) 2026-03-19 23:15:20 +00:00
buildfarm SERVER-88583 OWNERS format proposal (#20460) 2024-03-28 19:53:00 +00:00
buildscripts SERVER-118687 Fix check metadata consistency skip list bazel paths (#50203) 2026-03-26 20:04:29 +00:00
debian SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +00:00
distsrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
docs SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +00:00
etc SERVER-114384 Share query-wide constant variables between Variables instances (#49849) 2026-03-26 20:03:50 +00:00
evergreen SERVER-114974 SERVER-112491 Avoid conflicts with pipx-installed versions of db-contrib-tool (#45796) 2026-03-19 23:16:23 +00:00
jstests SERVER-122239 Test reporting_compound_wildcard_index_prefixed_by_shard_key.js should consider that recipient shard also uses the shard key index (#50045) 2026-03-26 20:04:14 +00:00
rpm SERVER-87451 Upgrade rhel8.0 variants to rhel8.8 (#23615) (#23839) 2024-07-06 19:32:43 +00:00
src SERVER-109161 [v8.0] Inconsistent state between opCtx and recovery unit after aborting WUOW (#49950) 2026-03-26 20:04:40 +00:00
tools SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelignore SERVER-114627 remove grpc option (#44601) 2026-01-15 19:55:15 +00:00
.bazeliskrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelrc SERVER-118877: Add --experimental_collect_system_network_usage bazelrc flag (#47546) (#48175) 2026-03-09 15:15:10 +00:00
.bazelversion SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.clang-format SERVER-74089 Change clang-format setting DeriveLineEnding to true to allow for Windows-style line endings locally 2023-02-17 01:36:20 +00:00
.clang-tidy.in SERVER-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +00:00
.eslintignore SERVER-69408 Add randomized testing for the mixed-type timeseries bug 2022-09-16 22:05:44 +00:00
.eslintrc.yml SERVER-95816 Backport property-based tests to v8.0 (#38184) 2025-09-15 15:20:11 +00:00
.gdbinit SERVER-75613 Add GDB pretty printers for immutable data structures 2023-04-21 13:30:50 +00:00
.git-blame-ignore-revs SERVER-87001 Added markdown formatting to bazel and commit queue (#19273) 2024-02-28 16:53:49 +00:00
.gitattributes SERVER-111295 [v8.0] Set python as formatter in format_multirun (#41681) 2026-01-15 19:55:28 +00:00
.gitignore SERVER-117755 [v8.0] Backport .gitignore from master (#46927) 2026-03-19 23:15:08 +00:00
.lldbinit
.mypy.ini SERVER-100609 resolve sbom schema reference spdx.schema.json to a local copy (#34108) 2025-05-05 21:50:32 +00:00
.npmrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.prettierignore SERVER-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +00:00
.prettierrc SERVER-76878 Add markdown linting capability in Bazel (#18446) 2024-02-05 18:19:36 +00:00
.pydocstyle SERVER-68593 Disable low value python warnings 2022-09-02 22:55:09 +00:00
.pylintrc SERVER-76796 Enable more lint warnings and fix them 2023-07-16 01:54:51 +00:00
.style.yapf
.udbinit
BUILD.bazel SERVER-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +00:00
CODEOWNERS SERVER-85713 Exclude error_codes.yml from Service Arch owned files (#18377) 2024-01-26 23:32:55 +00:00
CONTRIBUTING.rst
copy.bara.sky SERVER-117433 [v8.0] Add private third party dependency directory (#46744) 2026-03-19 23:15:32 +00:00
copy.bara.staging.sky SERVER-94187 Switch git ssh to https in copybara (#27211) 2024-11-20 22:05:04 +00:00
CreativeCommons.txt SERVER-72867 eol-terminate all nonempty text files 2023-04-26 19:19:19 +00:00
eslint.config.mjs SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
jsconfig.json SERVER-68594 Added better javascript code hinting 2023-01-20 21:14:47 +00:00
LICENSE-Community.txt
MODULE.bazel SERVER-116393 Add back in preserving timestamps (#47262) 2026-02-24 22:04:07 +00:00
MODULE.bazel.lock SERVER-116393 Add back in preserving timestamps (#47262) 2026-02-24 22:04:07 +00:00
OWNERS.yml SERVER-114627 remove grpc option (#44601) 2026-01-15 19:55:15 +00:00
package.json SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
pnpm-lock.yaml SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
poetry_requirements.txt SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
poetry.lock SERVER-112109: Evergreen Task and scripts to run Server SBOM upload Google Drive at release - 8.0 backport (#43226) 2025-12-01 17:53:47 +00:00
pyproject.toml SERVER-112109: Evergreen Task and scripts to run Server SBOM upload Google Drive at release - 8.0 backport (#43226) 2025-12-01 17:53:47 +00:00
README.md SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
README.third_party.md SERVER-117317 Upgrade MozJS to ESR 140.7 (#47381) 2026-02-24 22:03:26 +00:00
sbom.json SERVER-117317 Upgrade MozJS to ESR 140.7 (#47381) 2026-02-24 22:03:26 +00:00
symbols.orderfile SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
WORKSPACE.bazel SERVER-114627 remove grpc option (#44601) 2026-01-15 19:55:15 +00:00

Logo MongoDB README

Welcome to MongoDB!

Components

  • mongod - The database server.
  • mongos - Sharding router.
  • mongo - The database shell (uses interactive javascript).

Download MongoDB

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 mongo javascript shell connects to localhost and test database by default:
$ ./mongo
> 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/. Use the shell (mongo) for administrative tasks.

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.