Go to file
Zac 591928c619 SERVER-108478 JS formatted by prettier and remove clang-format (#39656)
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
.github SERVER-109502 clarify fassert docs and claim exception_architecture.md for Server Programmability (#40280) 2025-08-21 16:24:39 +00:00
.vscode_defaults SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
bazel SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
buildfarm SERVER-103025 delete scons (#34270) 2025-04-10 03:33:39 +00:00
buildscripts SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
debian SERVER-101810: Use runtime platform parameters for listenBacklog (#35452) 2025-05-07 16:52:55 +00:00
distsrc SERVER-99662 Implmement building msi's in bazel (#33677) 2025-04-10 01:43:37 +00:00
docs SERVER-109502 clarify fassert docs and claim exception_architecture.md for Server Programmability (#40280) 2025-08-21 16:24:39 +00:00
etc SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
evergreen SERVER-109548: Integrate mongo-task-generator v3.5.0 (#40322) 2025-08-20 21:30:13 +00:00
jstests SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
modules_poc SERVER-104912 Mark visibility for SP stdx/, platform/, and executor/ headers (#36815) 2025-08-14 20:35:24 +00:00
rpm SERVER-104338: Rename mongodb-enterprise-crypt RPM package (#35845) 2025-05-06 20:50:50 +00:00
src SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
tools SERVER-109365 Early lint failure and --keep-going option (#40158) 2025-08-20 19:59:07 +00:00
x509 SERVER-101468 Update certificate generation to be cross-platform and deterministic (#33814) 2025-04-10 03:08:20 +00:00
.bazelignore SERVER-107350 Add venv directories to bazelignore (#38318) 2025-07-09 18:57:39 +00:00
.bazeliskrc SERVER-97784 make the cpp_link exec props adjustable (#32690) 2025-04-09 21:57:31 +00:00
.bazelrc SERVER-109439 Add Distributed Thin LTO Support (#40197) 2025-08-19 19:25:29 +00:00
.bazelrc.local.example SERVER-99004 Change from build to common in bazelrc so more things can inherit (#30830) 2025-01-06 22:50:48 +00:00
.bazelrc.sync SERVER-102364 Periodically check $reduce accumulated depth less than… (#38333) 2025-08-06 19:22:18 +00:00
.bazelversion SERVER-97784 make the cpp_link exec props adjustable (#32690) 2025-04-09 21:57:31 +00:00
.clang-format SERVER-105050 clang-format IncludeBlocks: Regroup (#36096) 2025-05-27 08:21:14 +00:00
.clang-tidy.in SERVER-109078 Restructuring Catalog and Routing components into subfolders (#39440) 2025-08-13 08:57:19 +00:00
.editorconfig SERVER-101034 Use rules_lint shfmt formatter (#38448) 2025-07-16 01:55:34 +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-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
.gitattributes SERVER-101032 Move clang-format into "bazel run format" (#36625) 2025-05-29 13:40:00 +00:00
.gitignore SERVER-106402: push mongostream image to streams ecr (#39895) 2025-08-18 21:35:47 +00:00
.lldbinit
.mypy.ini SERVER-72262 Bump Python minimum version to 3.9/3.10 2023-08-02 21:39:07 +00:00
.npmrc SERVER-100116 Set up rules_lint with eslint (#32036) 2025-04-09 19:38:20 +00:00
.prettierignore SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
.prettierrc SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
.udbinit
BUILD.bazel SERVER-106933: Add testing for cluster restart scenarios for extension enablement / upgrade / downgrade (#40179) 2025-08-20 21:38:26 +00:00
CONTRIBUTING.rst
copy.bara.sky SERVER-106150 Rewrite private links to public links when we sync source code from 10gen/mongo to mongodb/mongo (#37153) 2025-06-12 18:23:51 +00:00
copy.bara.staging.sky SERVER-94187 Switch git ssh to https in copybara (#27049) 2024-09-16 16:01:16 +00:00
CreativeCommons.txt SERVER-72867 eol-terminate all nonempty text files 2023-04-26 19:19:19 +00:00
cspell.json SERVER-98435 Initial commit for modules poc (#30573) 2025-04-09 19:48:20 +00:00
eslint.config.mjs SERVER-108478 JS formatted by prettier and remove clang-format (#39656) 2025-08-21 17:27:09 +00:00
jsconfig.json SERVER-103603: Support .d.ts typings for common "conn" and "db" workflows (#35071) 2025-04-16 20:01:24 +00:00
LICENSE-Community.txt
MODULE.bazel SERVER-102823 handle multiple clang tidy configs (#40036) 2025-08-13 22:16:58 +00:00
OWNERS.yml SERVER-101034 Use rules_lint shfmt formatter (#38448) 2025-07-16 01:55:34 +00:00
package.json SERVER-101526 Eslint not woking anymore due to missing eslint-plugin-mongodb dependency (#32926) 2025-04-09 22:59:06 +00:00
pnpm-lock.yaml SERVER-99572: Cover jstests with custom eslint rules (#32277) 2025-04-09 21:22:15 +00:00
poetry_requirements.txt SERVER-105429 make poetry requrements file (#36472) 2025-05-23 19:30:39 +00:00
poetry.lock SERVER-108845 switch back to rapidyaml (#39670) 2025-08-06 19:04:35 +00:00
pyproject.toml SERVER-108845 switch back to rapidyaml (#39670) 2025-08-06 19:04:35 +00:00
README.md SERVER-91333: Reference mongosh in README instead of mongo shell (#25936) 2024-08-16 18:24:46 +00:00
README.third_party.md SERVER-109047: import avro cpp library (#40107) 2025-08-19 17:59:38 +00:00
sbom.json SERVER-109047: import avro cpp library (#40107) 2025-08-19 17:59:38 +00:00
WORKSPACE.bazel SERVER-104974 make gdb dump locks work in bazel (#39768) 2025-08-08 04:26:51 +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.