Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
68 lines (46 sloc) 1.9 KB
Install using ``.tgz`` Tarball on macOS
.. default-domain:: mongodb
.. contents:: On this page
:backlinks: none
:depth: 1
:class: singlecol
.. _`MongoDB Download Center`:
The following tutorial downloads the ``.tgz`` file directly to install
MongoDB Community Edition on macOS. To install using ``brew``, see
:doc:`/tutorial/install-mongodb-on-os-x` instead.
MongoDB 4.2+ only supports macOS versions 10.12 and
later on Intel x86-64. See :ref:`mongodb-supported-platforms` for more
.. _install-with-tarball:
Install MongoDB Community Edition
.. include:: /includes/extracts/install-past-mongodb-org-osx.rst
.. note::
You can also spin up MongoDB on AWS, Azure, or GCP using Atlas, our
fully-managed database-as-a-service. Atlas enables you to configure anything
from a free sandbox environment to a globally sharded production cluster.
`Set up a free cluster now
.. include:: /includes/steps/install-mongodb-on-osx-manually.rst
Run MongoDB
.. include:: /includes/steps/run-mongodb-on-linux.rst
Additional Considerations
Starting with MongoDB 3.6, MongoDB binaries, :binary:`mongod
<bin.mongod>` and :binary:`mongos <bin.mongos>`, bind to
``localhost`` by default.
When bound only to the localhost, these binaries can only accept
connections from clients that are running on the same machine. Remote
clients cannot connect to the binaries bound only to localhost. For
more information, including how to override and bind to other ip
addresses, see :ref:`3.6-bind_ip-compatibility`.
You can’t perform that action at this time.