Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

Manage Local and Cloud Deployments from the Atlas CLI

Use the Atlas CLI to work with Atlas, including using MongoDB Search and MongoDB Vector Search, throughout the entire software development lifecycle from your local environment to the cloud.

Important

The atlas deployments commands are deprecated as of Atlas CLI version 1.52.0. Use atlas local commands for local deployments. We updated this page to use the atlas local command.

With the atlas local commands, you can perform the following actions:

  • Create and manage local Atlas deployments. Local Atlas deployments reside on your computer and provide a non-production environment for development.

  • Create and manage Atlas cloud deployments. Cloud Atlas deployments reside in the cloud for non-production and production use.

  • Manage MongoDB Search and MongoDB Vector Search indexes for your local and cloud Atlas deployments.

Note

For local Atlas deployments, you can manage only deployments that you created with the atlas local command. If you created a local Atlas deployment without using the Atlas CLI, you can't manage that deployment with the Atlas CLI.

You can use atlas local Atlas CLI commands for local Atlas deployments. You can use all Atlas CLI commands for cloud Atlas deployments.

You can perform the following actions with the atlas local command for local and cloud Atlas deployments including, but not limited to:

To learn all of the actions that the atlas local command supports, see atlas local.

Use the following resources for step-by-step guidance to run atlas local commands:

Tutorial
Objective

Use the atlas local command to create a local Atlas deployment. This tutorial deploys a single-node replica set on your local computer.

Use the atlas local command to create a local Atlas deployment with Docker.

Use the atlas local search indexes create command to manage MongoDB Search indexes and work with MongoDB Vector Search locally and in the cloud.