macOS
brew install mongoclilocal Homebrew formula metadata
sudo port install mongocliMacPorts ports tree · databases/mongocli/Portfile · source: api.github.com
brew
MongoDB CLI enables you to manage your MongoDB in the Cloud. Version 2.0.7 via Homebrew; verified from local package data.
install
brew install mongoclilocal Homebrew formula metadata
sudo port install mongocliMacPorts ports tree · databases/mongocli/Portfile · source: api.github.com
overview
MongoDB CLI enables you to manage your MongoDB in the Cloud
history
MongoDB CLI, invoked as mongocli, was built by MongoDB as a terminal interface for MongoDB management services. Its repository describes it as a modern command-line interface for managing MongoDB services from the terminal, with simple one-line commands for Ops Manager and Cloud Manager automation.
The tool's role narrowed after MongoDB separated Atlas administration into the Atlas CLI. MongoDB CLI 2.0.0, released on 2024-03-14, fully deprecated mongocli atlas commands and directed users to migrate Atlas workflows to the Atlas CLI. That leaves mongocli primarily in the Ops Manager and Cloud Manager niche: automation, alerts, backups, clusters, agents, logs, maintenance windows, metrics, processes, and security settings for managed MongoDB deployments outside the dedicated Atlas CLI path.
Homebrew and MacPorts package it as a single mongocli executable for administrators and CI jobs that need scripted access to Cloud Manager or Ops Manager without using the web UI.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/mongocli/config.toml~/.config/mongocli/config.toml/Users/{username}/Library/Application Support/mongocli/config.toml%AppData%\mongocli\config.tomlCredential-bearing paths to review before unattended agent runs.
$XDG_CONFIG_HOME/mongocli/config.toml~/.config/mongocli/config.toml/Users/{username}/Library/Application Support/mongocli/config.toml%AppData%\mongocli\config.tomlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mongocli | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/mongodb/mongodb-cli
install metadata
| Package key | brew:mongocli |
|---|---|
| Version | 2.0.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mongocli |
| Homepage | https://www.mongodb.com/docs/mongocli/current/ |
| Repository | https://github.com/mongodb/mongodb-cli |
| Upstream docs | https://www.mongodb.com/docs/mongocli/current |
| License | Apache-2.0 |
| Source archive | https://github.com/mongodb/mongodb-cli/archive/refs/tags/mongocli/v2.0.7.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mongocli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mongocli
sudo port install mongoclisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.