MongoDB CLI

The MongoDB Command Line Interface (mongocli) allows you to create and manage MongoDB Cloud deployments with MongoDB Atlas. You can also use the MongoDB CLI to manage your on-premises MongoDB environments with MongoDB Cloud Manager and MongoDB Ops Manager. With the MongoDB CLI, you can quickly interact with MongoDB services from the command line for easier testing and scripting.


You can install the MongoDB CLI via homebrew, binary download or clone the repo. Help us improve the MongoDB Command Line Interface by posting your ideas and suggestions for improvements.



To report bugs, please use our mongodbcli github issues.


  1. Support TLS configuration

    Add options to the config file for deploy clusters with TLS enabled.

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  mongodbcli with Ops Manager  ·  Flag idea as inappropriate…  ·  Admin →
  2. Store the type of cloud in profile to shorten the CLI command

    MongoCLI current requires the user to type on the command-line if it's an Ops Manager, Cloud Manager, or Atlas. We could store this information in the profile (the file containing the URL and API keys) so the users have less to type.

    PS: This applies to all 3 categories - MongoDBCLI with Ops Manager, MongoDBCLI with Cloud Manager, and MongoDBCLI with Atlas - on feedback.mongodb.com and the UI forces me to select only one of them

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  mongodbcli with Ops Manager  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base