Docs Menu

What is the Atlas CLI?

The Atlas CLI is a command line interface built specifically for MongoDB Atlas . Interact with your Atlas database deployments and Atlas Search from the terminal with short, intuitive commands, so you can accomplish complex database management tasks in seconds.

Install the Atlas CLI

Then, run atlas setup

Homepage hero image
What You Can Do

Get started quickly with two commands:

1

See our documentation for more ways to install the Atlas CLI.

brew install mongodb-atlas-cli command
1

atlas setup does all of the following with one command:

  1. Signs up for an Atlas account.

  2. Authenticates with the new Atlas account.

  3. Creates one free database.

  4. Loads sample data into your Atlas database.

  5. Adds your IP address to your project's IP access list.

  6. Creates a MongoDB user for your Atlas database deployment.

  7. Connects to your new database deployment using the MongoDB Shell, mongosh.

To learn more, see the atlas setup command.

atlas setup command
1

To learn more, see Manage Local and Cloud Deployments from the Atlas CLI.

1

To learn more, see Use Atlas Search with an Atlas Deployment.

Related Products & Resources

Learn the Atlas CLI commands and optimize your workflow with advanced tutorials and more.

AtlasCLI Commands Icon

Discover new Atlas CLI commands

See All Commands

Tutorials Icon

Explore Atlas CLI workflows with guided tutorials

View All Tutorials

Atlas Icon

Learn what's new in the Atlas CLI

Read Release Notes