What is mongocli?
The MongoDB CLI is a modern command line interface that enables you to manage your MongoDB services from the terminal.
Install MongoDB CLI
What You Can Do
Manage your Deployment from the Command Line
Use simple, one-line commands to interact with MongoDB Cloud Manager or Ops Manager, and to automate management tasks for your deployments.
To interact with MongoDB Atlas, use the Atlas CLI.
1
Create API Keys
In the Cloud Manager UI, create an API key to programmatically access your organization or project.
To learn more, see Configure Atlas API Access.
2
![MongoDB CLI config command](/docs/mongocli/master/images/config.gif)
Related Products & Resources
Go Further with the MongoDB CLI
Explore advanced features of the MongoDB CLI and the MongoDB services you can interact with.
Interact with your cloud deployments through a GUI
Explore more advanced MongoDB CLI use cases
Review common error messages and issues