Skip to content

Atlas CLI

The MongoDB Atlas Command Line Interface, or Atlas CLI (mongodb-atlas-cli), allows you to create, manage, and automate operations related to your MongoDB Atlas deployment. This includes tasks like provisioning clusters, creating and deleting users, and controlling network access. You can also access related products like Atlas Search. With the Atlas CLI, you can quickly interact with MongoDB services from the command line for easier testing and scripting.


You can install the Atlas CLI via, Homebrew, Apt, Yum, or a binary download. Help us improve the MongoDB Atlas CLI by posting your ideas and suggestions for improvements.

To report bugs, please use our mongodbcli github issues.


5 results found

  1. Ability to upgrade MongoDB version for local Atlas deployment

    Add the ability for the Atlas CLI to upgrade the version of MongoDB running in a local Atlas deployment without having to do a manual migration (or creating a new container).

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Include MongoDB Shell (mongosh) and MongoDB Tools (mongoimport, mongoexport, mongodump, mongorestore) in Atlas Local Docker Image

    Please add the mongo shell and database tools to the Atlas Local docker image (mongodb/mongodb-atlas-local).

    When working with MongoDB and docker, it is a frequent requirement to perform routine maintenance on the database, add seed data, initialise indexes and other tasks.

    Today the Atlas Local docker image (mongodb/mongodb-atlas-local) does not include the following useful utility processes:
    - MongoDB Shell (mongosh)
    MongoDB Tools
    - mongoimport
    - mongoexport
    - mongodump
    - mongorestore

    With the result that it is not possible (without using another container or installing local client tools / libraries) to perform such activities as:
    - intialise the database with indexes…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. Ability to set maxClauseCount for cli image

    We have a query that needs to filter by a long list of ids.

    I get the error: “Query contains too many nested clauses; maxClauseCount is set to 1024”

    This error does not happen in M10+ cluster because the lucene maxClauseCount seems to be higher there.

    It would be great to be able to set the maxClauseCount of lucene with an env var so we can test this.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. Add instructions for windows local development.

    It took me some research, but I was able to run the mongodb/atlas:latest docker image on a windows machine using Docker Desktop. I had to add this config on WSL nestedVirtualization=true (see https://learn.microsoft.com/en-us/windows/wsl/wsl-config).

    Please add this to the documentation to save some troubleshooting time for other windows developers that might want to try this feature locally.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. Official Docker Image for Atlas Search

    It Could be very useful test Atlas search locally using a dedicated Docker Image, so it is portable to a Kubernetes cluster

    9 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

Feedback and Knowledge Base