Learn the "why" behind slow queries and how to fix them in our 2-Part Webinar.
Register now >
Docs Menu
Docs Home
/ /

Install or Update the MongoDB CLI

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.

Select an installation method:

Follow the steps for your selected installation method.

Follow the steps below to update the MongoDB CLI:

  • Configure the MongoDB CLI for your environment.

  • Enable autocomplete to see available commands and their syntax directly in your shell.

On this page