browse
Download binary →
atlas/MongoDB Atlas CLI
MongoDBCommand line interface for MongoDB Atlas cloud database management and operations.
Databases & DataJSON
01Agent Notes
atlas CLI manages MongoDB Atlas clusters. `atlas clusters create/list/describe`. Use `-o json` for structured output. Requires project context via --projectId or `atlas config set project_id`.
02Global Flags
| Flag | Type | Description |
|---|---|---|
-o/--output | enum [json, text, go-template] | Output format |
--projectId | string | Project ID to target |
03Authentication
Methods
access-tokenconfig-file
Env vars
MONGODB_ATLAS_PUBLIC_API_KEYMONGODB_ATLAS_PRIVATE_API_KEYMONGODB_ATLAS_ORG_IDConfig files
~/.config/atlascli/Setup
atlas auth login04Install
brew install mongodb-atlas-cli05Capabilities
Reference
binary
atlascheck
atlas --versionauth
access-token, config-fileformats
textjson flag
-o jsonversion
atlascli/v1.53.1