GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • AtlasBuild with the intelligent data platform
  • DatabasePower critical apps with real-time data
  • SearchDeliver fast, relevant search at scale
  • Vector SearchBuild AI apps with accurate context
  • Voyage AIEmbed meaning and rerank results
  • CompassWork with MongoDB data in a GUI
  • Sign Up
  • Learn more
  • Download
  • BooksRead books and e-books about MongoDB
  • CommunityJoin a community of developers
  • Artificial Intelligence
  • Modernization
  • Payments

This view

  • Original page
  • New address

GeezerVison is showing www.mongodb.com — Install MongoDB Community on macOS - Database Manual - MongoDB Docs

Install MongoDB Community on macOS

Select your installation method to view instructions for MongoDB Community Edition.

Installation Method

Note

By default, MongoDB Community Edition does not include MongoDB Search. To use MongoDB Search with MongoDB Community, you must install MongoDB Search with Docker or Linux separately.

About This Task

Before You Begin

Install

Start and Verify

Connect

1

Connect to MongoDB Community.

To connect to your deployment, run mongosh:

mongosh

The command connects to MongoDB Community through the default address: mongodb://localhost:27017.

2

Check Server Status.

To check the status of MongoDB, run the serverStatus command:

db.runCommand( { serverStatus: 1, none: 1, mem: 1 } )
{ host: '<hostname>', version: '9.0.4', process: 'mongod', pid: Long('71115'), uptime: 61, uptimeMillis: Long('61213'), uptimeEstimate: Long('61'), localTime: ISODate("2026-10-27T16:39:04.046Z"), ok: 1, '$clusterTime': { clusterTime: Timestamp(1793119144, 1), signature: { hash: Binary.createFromBase64('AAAAAAAAAAAAAAAAAAAAAAAAAAA=', 0), keyId: Long('0') } }, operationTime: Timestamp(1793119144, 1)}

Next Steps

After you install MongoDB Community Edition, you can:

  • Get started: Work through an introductory tutorial. To learn more, see Getting Started with MongoDB.

  • Set up access control: Secure your deployment with authentication. To learn how, see Enable Access Control on Self-Managed Deployments.

  • Review the security checklist: Confirm your deployment follows security best practices. To learn more, see Security Checklist for Self-Managed Deployments.

Deploy a Cluster

In addition to the standalone instance, you can deploy multiple instances of MongoDB Community Edition to form clusters:

  • Replica Sets provide redundancy to maintain high availability, making your cluster resilient in cases of network partitions and other system failures.

    For details, see Deploy a Self-Managed Replica Set.

  • Sharded Clusters allow you to horizontally scale capacity, balancing collection data across multiple MongoDB instances or replica sets.

    For details, see Deploy a Self-Managed Sharded Cluster.

Upgrade Community Edition to Enterprise Edition Tutorials

Important

Do not use these instructions to upgrade to another release version.

For general guidance on MongoDB version numbering, release types, and upgrade paths, see MongoDB Versions and Upgrade Paths.

  • Upgrade to MongoDB Enterprise (Standalone)

  • Upgrade to MongoDB Enterprise (Replica Set)

  • Upgrade to MongoDB Enterprise (Sharded Cluster)

Learn More

  • MongoDB Community Edition Packages

  • Default Data and Log Directory Paths

  • Run the MongoDB Service Manually

Back
Install on Windows
Next
Install with Docker
You are visitor 01402894 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.