Skip to content

mongodb/mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0a68308 · Feb 5, 2025
Feb 4, 2025
Feb 3, 2025
Feb 5, 2025
Apr 4, 2024
Feb 5, 2025
Aug 23, 2024
Jan 29, 2025
Feb 5, 2025
Feb 5, 2025
Feb 4, 2025
Feb 5, 2025
Dec 18, 2024
Jul 5, 2024
Feb 4, 2025
Feb 5, 2025
Jan 29, 2025
Sep 16, 2024
Feb 3, 2025
Jan 6, 2025
Feb 4, 2025
Feb 17, 2023
Dec 23, 2024
Sep 16, 2022
Feb 4, 2025
Apr 21, 2023
May 23, 2024
Jul 6, 2017
Jan 29, 2025
Jun 17, 2019
Aug 2, 2023
Jan 23, 2025
Apr 6, 2024
Sep 1, 2020
Jan 30, 2025
Jun 21, 2017
Apr 26, 2023
Oct 17, 2018
Jan 17, 2025
Aug 16, 2024
Jan 27, 2025
Jan 31, 2025
Feb 4, 2025
Sep 16, 2024
Sep 16, 2024
Dec 26, 2024
Oct 14, 2024
Jan 7, 2025
Feb 5, 2024
Feb 4, 2025
Feb 4, 2025
Jan 27, 2025
Feb 3, 2025

Repository files navigation

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.