Docs Menu
Docs Home
/ /
MongoDB CLI

mongocli

On this page

  • Options
  • Examples
  • Related Commands

CLI tool to manage your MongoDB Cloud

Use mongocli command help for information on a specific command

Name
Type
Required
Description
-h, --help
false
help for mongocli
-P, --profile
string
false
Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.
# Display the help menu for the config command:
mongocli config --help
  • mongocli auth - Manage the CLI's authentication state.

  • mongocli cloud-manager - MongoDB Cloud Manager operations.

  • mongocli completion - Generate the autocompletion script for the specified shell

  • mongocli config - Configure and manage your user profiles.

  • mongocli iam - Organization and projects operations.

  • mongocli ops-manager - MongoDB Ops Manager operations.

Back

Quick Start with Ops Manager

Next

auth