Go to file
Trevor Guidry 2884bcf912 SERVER-115693 fix detecting current git repo on windows (#45414)
GitOrigin-RevId: fc88ca137231d7457aed6265d4f32a361ae71716
2025-12-22 20:32:26 +00:00
.github 6.0.20 release maintenance (#28906) 2024-11-19 22:11:49 +00:00
.vscode_defaults SERVER-68594 Added vscode defaults to v6.0 2023-01-21 16:34:25 +00:00
buildscripts SERVER-115693 fix detecting current git repo on windows (#45414) 2025-12-22 20:32:26 +00:00
debian SERVER-78987 Remove the free monitoring code from mongodb/mongo repo 2023-08-24 14:53:01 +00:00
distsrc SERVER-90391 Fix license details in headers + READMEs (#24537) 2024-07-10 20:20:42 +00:00
docs SERVER-100387 Make error code linter work with 6 digit SERVER ticket ids (#35296) 2025-04-23 16:22:02 +00:00
etc SERVER-104014 migrate to DevProd ECR (#40640) 2025-09-09 18:58:22 +00:00
evergreen SERVER-104014 migrate to DevProd ECR (#40640) 2025-09-09 18:58:22 +00:00
jstests SERVER-103618 add check to coordinateCommitTransaction (#38008) 2025-07-02 21:27:13 +00:00
rpm SERVER-92375 Remove minor version from rhel8.x variant names (#24706) 2024-07-15 09:24:37 +00:00
site_scons 6.0.20 release maintenance (#28906) 2024-11-19 22:11:49 +00:00
src SERVER-115508: Fix for SERVER-115508 (#45384) 2025-12-22 20:32:14 +00:00
.clang-format SERVER-41771 Use clang-format-7.0.1 in our clang-format helper script 2019-07-27 11:02:21 -04:00
.clang-tidy SERVER-60831 Document configuration for Server linting tools 2022-03-31 19:32:55 +00:00
.eslintignore
.eslintrc.yml SERVER-70553 Add module support to jstests 2022-12-27 17:53:33 +00:00
.gdbinit SERVER-75613 Add GDB pretty printers for immutable data structures 2024-01-17 17:58:08 +00:00
.gitattributes
.gitignore SERVER-87544 - Fix up gitignore entry for enterprise module (backport to v6.0) (#19627) 2024-03-06 23:41:55 +00:00
.lldbinit SERVER-41168 Add lldb comment to .lldbinit 2019-06-17 10:07:37 -04:00
.mypy.ini SERVER-50592 Update mypy and GitPython pip requirements 2020-09-01 01:19:35 +00:00
.pydocstyle SERVER-65672 upgrade python packages to support 3.10 2022-05-31 15:03:45 +00:00
.pylintrc SERVER-58695 improved symbolizer 2021-07-26 11:23:45 +00:00
.style.yapf
.udbinit SERVER-50449 Add gdb helper scripts for UndoDB 2020-09-01 15:48:47 +00:00
CONTRIBUTING.rst
copy.bara.sky SERVER-94187 Switch git ssh to https in copybara (#27213) 2024-11-20 22:13:48 +00:00
copy.bara.staging.sky SERVER-94187 Switch git ssh to https in copybara (#27213) 2024-11-20 22:13:48 +00:00
CreativeCommons.txt SERVER-45070 Add Creative Commons license for TLA+ specifications 2019-12-15 01:59:46 +00:00
jsconfig.json SERVER-68594 Added vscode defaults to v6.0 2023-01-21 16:34:25 +00:00
LICENSE-Community.txt
package.json SERVER-68594 Added vscode defaults to v6.0 2023-01-21 16:34:25 +00:00
README.md SERVER-90391 Fix license details in headers + READMEs (#24537) 2024-07-10 20:20:42 +00:00
README.third_party.md SERVER-84612 Update README.third_party.md with immer version (#18292) 2024-03-04 00:22:11 +00:00
SConstruct 6.0.20 release maintenance (#28906) 2024-11-19 22:11:49 +00:00

Logo MongoDB README

Welcome to MongoDB!

Components

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

Utilities

install_compass - Installs MongoDB Compass for your platform.

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.

Documentation

https://docs.mongodb.com/manual/

Cloud Hosted MongoDB

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

Forums

Learn MongoDB

https://university.mongodb.com/

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.