Go to file
Zack Winter af851bae82 SERVER-117005 Fix yaml linting on v8.0.18 hotfix branch (#46258)
GitOrigin-RevId: 5d1557a9ac6f1cd358cef85fd11c0fabfcfc4e2e
2026-02-10 19:31:31 +00:00
.github SERVER-111469 Exempt coverity only changes from Server Release gate (#42243) 2025-10-06 21:11:38 +00:00
.vscode_defaults SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +00:00
bazel SERVER-93265 support windows rc files in bazel (#42766) 2025-10-24 04:04:19 +00:00
buildfarm SERVER-88583 OWNERS format proposal (#20460) 2024-03-28 19:53:00 +00:00
buildscripts SERVER-116493, SERVER-116495, SERVER-116497 Cap memory consumption of network buffers (#46178) 2026-02-10 19:31:15 +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-117005 Fix yaml linting on v8.0.18 hotfix branch (#46258) 2026-02-10 19:31:31 +00:00
evergreen SERVER-113685 SERVER-113900 SERVER-113897 Disallow wildcard index creation where projection is only _id exclusion (#44583) (#46113) 2026-02-10 19:29:21 +00:00
jstests SERVER-116493, SERVER-116495, SERVER-116497 Cap memory consumption of network buffers (#46178) 2026-02-10 19:31:15 +00:00
rpm SERVER-87451 Upgrade rhel8.0 variants to rhel8.8 (#23615) (#23839) 2024-07-06 19:32:43 +00:00
src SERVER-116493, SERVER-116495, SERVER-116497 Cap memory consumption of network buffers (#46178) 2026-02-10 19:31:15 +00:00
tools SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelignore SERVER-90718 add wiredtiger dist dir to bazelignore (#24508) (#41649) 2025-09-23 02:12:11 +00:00
.bazeliskrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelrc SERVER-115917 set specific Visual Studio and MSVC install version (#46059) 2026-02-10 19:28:27 +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-90577 Enable tidy check performance-inefficient-string-concatenation (#22969) 2024-06-04 23:10:25 +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-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.gitignore SERVER-108655 Use our own architectures for naming the top level folder in release packages (#39603) 2025-08-05 04:54:21 +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 SERVER-50449 Add gdb helper scripts for UndoDB 2020-09-01 15:48:47 +00:00
BUILD.bazel SERVER-108655 Use our own architectures for naming the top level folder in release packages (#39603) 2025-08-05 04:54:21 +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-94187 Switch git ssh to https in copybara (#27211) 2024-11-20 22:05:04 +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-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
MODULE.bazel.lock SERVER-93265 support windows rc files in bazel (#42766) 2025-10-24 04:04:19 +00:00
OWNERS.yml SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +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-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +00:00
pyproject.toml SERVER-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +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-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +00:00
sbom.json SERVER-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +00:00
symbols.orderfile SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
WORKSPACE.bazel SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +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.