{"id":13512310,"url":"https://github.com/mongodb/homebrew-brew","last_synced_at":"2025-11-11T21:06:25.099Z","repository":{"id":35800750,"uuid":"170547737","full_name":"mongodb/homebrew-brew","owner":"mongodb","description":"The Official MongoDB Software Homebrew Tap","archived":false,"fork":false,"pushed_at":"2025-04-02T16:52:46.000Z","size":346,"stargazers_count":933,"open_issues_count":3,"forks_count":163,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-06T08:09:31.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.mongodb.com","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-13T17:15:18.000Z","updated_at":"2025-04-02T16:52:50.000Z","dependencies_parsed_at":"2023-10-14T18:05:56.236Z","dependency_job_id":"b0ce0225-2894-49ad-9568-570d392f2e9e","html_url":"https://github.com/mongodb/homebrew-brew","commit_stats":{"total_commits":263,"total_committers":58,"mean_commits":"4.5344827586206895","dds":0.8897338403041826,"last_synced_commit":"0e720cfc699b8c0cf3e229685af3b87ef88a7387"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fhomebrew-brew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fhomebrew-brew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fhomebrew-brew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fhomebrew-brew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/homebrew-brew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710401,"owners_count":21149185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T03:01:43.105Z","updated_at":"2025-10-03T17:35:28.315Z","avatar_url":"https://github.com/mongodb.png","language":"Ruby","funding_links":[],"categories":["Ruby","Brew Taps"],"sub_categories":[],"readme":"\u003cimg src=\"https://webassets.mongodb.com/_com_assets/cms/mongodb-logo-rgb-j6w271g1xn.jpg\" width=\"256\"\u003e \u003cimg src=\"https://brew.sh/assets/img/homebrew-256x256.png\" height=\"72\"\u003e\n\n# The MongoDB Homebrew Tap\n\nThis is a custom [Homebrew](https://brew.sh) tap for official MongoDB software.\n\n## Setup\n\nYou can add the custom tap in a MacOS terminal session using:\n\n```bash\nbrew tap mongodb/brew\n```\n\n## Installing Formulae\n\nOnce the tap has been added, use the instructions below to install the software packages you need. You can choose to install either the latest version of the MongoDB Server (recommended), or a specific version if desired.\n\n### Installing the Latest mongodb-community Server, Shell, and the Database Tools Together\n\n * Install the latest available production release of the [MongoDB Community Server](https://docs.mongodb.com/manual/). This includes the MongoDB Server processes `mongod` and `mongos`, the [MongoDB Database Tools](https://docs.mongodb.com/database-tools/), and the `install_compass` script to separately install [MongoDB Compass](https://docs.mongodb.com/compass/). Currently, this will install MongoDB Server 8.0.x.\n\n   ```bash\n   brew install mongodb-community\n   ```\n\n### Installing only the Shell or the Database Tools\n\n * Install only the latest [`mongosh` shell](https://www.mongodb.com/docs/mongodb-shell/) for connecting to remote MongoDB instances. If you installed the MongoDB Server in the step above, the shell was included in that installation. Use this command only if you need to install the `mongosh` shell separately.\n\n   ```bash\n   brew install mongosh\n   ```\n\n * Install only the latest [MongoDB Database Tools](https://docs.mongodb.com/database-tools/), a suite of command-line tools (`mongoimport`, `mongoexport`, `mongodump`, etc) for working with a MongoDB Server instance. If you installed the MongoDB Server in the step above, the Database Tools were included in that installation. Use this command only if you need to install the Database Tools separately.\n\n   ```bash\n   brew install mongodb-database-tools\n   ```\n\n### Installing a Specific Version of the mongodb-community Server\n\nAlternatively, you can install a specific version of the MongoDB Server if desired.\n\n * Install the latest 6.0.x production release of MongoDB Community Server:\n   ```bash\n   brew install mongodb-community@6.0\n   ```\n\n * Install the latest 5.0.x production release of MongoDB Community Server:\n   ```bash\n   brew install mongodb-community@5.0\n   ```\n\n * Install the latest 4.4.x production release of MongoDB Community Server:\n   ```bash\n   brew install mongodb-community@4.4\n   ```\n\n## Default Paths for the mongodb-community Formula\n\nIn addition to installing the MongoDB server and tool binaries, the `mongodb-community` formula creates:\n\n * a configuration file: `$(brew --prefix)/etc/mongod.conf`\n * a log directory path: `$(brew --prefix)/var/log/mongodb`\n * a data directory path: `$(brew --prefix)/var/mongodb`\n\nThe default value for `brew --prefix` depends on your CPU architecture:\n\n  * Intel: `/usr/local`\n  * M1: `/opt/homebrew`\n\n## Starting the mongodb-community Server\n\n### Run `mongod` as a service\n\nTo have `launchd` start `mongod` immediately and also restart at login, use:\n\n```bash\nbrew services start mongodb-community\n```\nIf you manage `mongod` as a service it will use the default paths listed above. To stop the server instance use:\n\n```bash\nbrew services stop mongodb-community\n```\n\n### Start `mongod` manually\n\nIf you don't want or need a background MongoDB service you can run:\n\n```bash\nmongod --config /usr/local/etc/mongod.conf\n```\nNote: if you do not include the `--config` option with a path to a configuration file, the MongoDB server does not have a default configuration file or log directory path and will use a data directory path of `/data/db`.\n\nTo shutdown `mongod` started manually, use the `admin` database and run `db.shutdownServer()`:\n\n * Shutdown for MongoDB Community Server 6.x and up:\n\n```bash\nmongosh admin --eval \"db.shutdownServer()\"\n```\n\n * Shutdown for MongoDB Community Server 5.0 and below:\n\n```bash\nmongo admin --eval \"db.shutdownServer()\"\n```\n\n## Uninstalling the mongodb-community Server\n\nIf you need to uninstall the MongoDB Server, use:\n\n```bash\nbrew uninstall mongodb-community\n```\n\nNote that this does not uninstall the bundled Database Tools. To uninstall the Database Tools, additionally run the folowing:\n\n```bash\nbrew uninstall mongodb-database-tools\n```\n\n## The Documentation\n\nFor more information, please reference the following documentation:\n\n* [The MongoDB Server Manual](https://docs.mongodb.com/manual/)\n\n* [The MongoDB Database Tools Documentation](https://docs.mongodb.com/database-tools/)\n\n* [Employees of MongoDB Updating Homebrew Tap](https://github.com/10gen/mongo-release-tools#update-monogodb-homebrew-tap)\n\n## Additional Information and Problem Reporting\n\nThis tap was created using the Homebrew documentation on [How to Create and Maintain a tap](https://github.com/Homebrew/brew/blob/master/docs/How-to-Create-and-Maintain-a-Tap.md).\n\nYou can find additional information in the [Homebrew project README](https://github.com/Homebrew/brew#homebrew).\n\nIf you're having issues with MongoDB please check out [our community support resources](https://www.mongodb.com/community-support-resources).\n\nIf you've found a bug please [open a JIRA ticket in the SERVER project](https://jira.mongodb.org).\n\nIf you are a mongodb employee and are trying to update this tap please see [internal documentation](https://github.com/10gen/mongo-release-tools#update-monogodb-homebrew-tap).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fhomebrew-brew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Fhomebrew-brew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fhomebrew-brew/lists"}