Go to file
Daniel Moody cdc15ad29b SERVER-115593 use RAAPI for eslint (#45332)
GitOrigin-RevId: a024c00299d5a2e0edb994653d5abbda62b92f2c
2025-12-16 21:45:44 +00:00
.cursor/rules
.devcontainer
.github SERVER-111967 Change the ownership of transitionFromDedicated/transitionToDedicated from CS to CAR (#45182) 2025-12-16 08:15:18 +00:00
.tmp
.vscode_defaults
bazel SERVER-115832 disable fdebug-types-section on clang static builds (#45321) 2025-12-16 21:25:06 +00:00
buildfarm
buildscripts SERVER-115593 use RAAPI for eslint (#45332) 2025-12-16 21:45:44 +00:00
debian
distsrc
docs
etc SERVER-115591 add build atlas to the commit queue (#45328) 2025-12-16 21:01:13 +00:00
evergreen SERVER-113186 consolidate which binaries we push to antithesis (#45254) 2025-12-16 21:00:54 +00:00
jstests Revert "SERVER-114164 Replace awaitReplication in long_secondary_read… (#45287) 2025-12-16 21:00:36 +00:00
modules_poc SERVER-111967 Change the ownership of transitionFromDedicated/transitionToDedicated from CS to CAR (#45182) 2025-12-16 08:15:18 +00:00
rpm
src SERVER-113952 Create IFR flag for featureFlagVectorSearchExtension (#45252) 2025-12-16 21:39:19 +00:00
tools
x509
.bazelignore
.bazeliskrc
.bazelrc
.bazelrc.local.example
.bazelrc.sync
.bazelversion
.clang-format
.clang-tidy.in
.editorconfig
.gdbinit
.git-blame-ignore-revs
.gitattributes
.gitignore
.lldbinit
.mypy.ini
.npmrc
.prettierignore
.prettierrc
AGENTS.md
BUILD.bazel Revert "SERVER-114734 Add extension_options configurations to archive-dist-test tarball (#45207)" (#45282) 2025-12-15 22:01:12 +00:00
CLAUDE.md
CONTRIBUTING.rst
CreativeCommons.txt
LICENSE-Community.txt
MODULE.bazel
MODULE.bazel.lock
OWNERS.yml
README.md
README.third_party.md SERVER-109200: Upgrade MozJS to esr140.3 (#44151) 2025-12-15 19:45:29 +00:00
WORKSPACE.bazel
copy.bara.sky
cspell.json
eslint.config.mjs
jsconfig.json
package.json
pnpm-lock.yaml
poetry.lock SERVER-115309: Upgrade cheetah3 to ct3 3.4.0.post5 for Python 3.13 com… (#45130) 2025-12-15 17:25:39 +00:00
poetry_requirements.txt
pyproject.toml SERVER-115309: Upgrade cheetah3 to ct3 3.4.0.post5 for Python 3.13 com… (#45130) 2025-12-15 17:25:39 +00:00
sbom.json SERVER-109200: Upgrade MozJS to esr140.3 (#44151) 2025-12-15 19:45:29 +00:00

README.md

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.