Docs Menu
Docs Home
/ /

Install or Update the MongoDB CLI

On this page

  • Install the MongoDB CLI
  • Update the MongoDB CLI
  • Next Steps

You can use the MongoDB Command Line Interface (mongocli) to deploy and manage MongoDB clusters in Atlas, Cloud Manager, and Ops Manager. For operating system and MongoDB service version requirements, see Compatibility.

To verify packages before installation, see Verify the Integrity of MongoDB CLI Packages.

To install the MongoDB CLI, choose one of the following methods:

  1. Install with a package manager like Homebrew, Yum, or Apt.

  2. Download and extract the binary.

  3. Clone the GitHub repository and install the MongoDB CLI with Go.

To update the MongoDB CLI, follow the procedure for the method with which you installed the MongoDB CLI:

← Compatibility