Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mongo

> 数据库
Open source

The MongoDB Database

28.5K stars0 likes1 views
WebsiteGitHub

About

The MongoDB Database

MongoDB README

Welcome to MongoDB!

Components

  • mongod - The database server.
  • mongos - Sharding router.

Download MongoDB

  • https://www.mongodb.com/try/download/community
  • Using homebrew brew tap mongodb/brew
  • Using docker image docker pull mongodb/mongodb-community-server

Download the MongoDB Shell

  • https://www.mongodb.com/try/download/shell
  • Using homebrew brew install mongosh

Building

See Building MongoDB.

Running

For command line options invoke:

bash
$ ./mongod --help

To run a single server database:

bash
$ 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:

bash
$ ./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

  • Documentation - https://docs.mongodb.com/manual/
  • Developer Center - https://www.mongodb.com/developer/
  • MongoDB University - https://learn.mongodb.com

Cloud Hosted MongoDB

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

Forums

  • https://mongodb.com/community/forums/

    Technical questions about using MongoDB.

  • https://mongodb.com/community/forums/c/server-dev

    Technical questions about building and developing MongoDB.

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.

Issues· 36 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++c-plus-plusdatabasemongodbnosql

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库