Automic VaultAutomic Vault

brew

Install mongocli with Homebrew, MacPorts

MongoDB CLI enables you to manage your MongoDB in the Cloud. Version 2.0.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mongocli

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mongocli

MacPorts ports tree · databases/mongocli/Portfile · source: api.github.com

overview

Package summary

MongoDB CLI enables you to manage your MongoDB in the Cloud

Commands and aliases

  • mongocli

history

Project history and usage

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.

Project history

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.

How it is used

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

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:cloud

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
$XDG_CONFIG_HOME/mongocli/config.toml~/.config/mongocli/config.toml
macOS
/Users/{username}/Library/Application Support/mongocli/config.toml
Windows
%AppData%\mongocli\config.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
$XDG_CONFIG_HOME/mongocli/config.toml~/.config/mongocli/config.toml
macOS
/Users/{username}/Library/Application Support/mongocli/config.toml
Windows
%AppData%\mongocli\config.toml

executables

Installed executables

CommandKindExposureNote
mongoclicliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.0.7
manager updated
local dataok
upstreamcurrent
latest detectedmongocli/v2.0.7

https://github.com/mongodb/mongodb-cli

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:mongocli
Version2.0.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mongocli
Homepagehttps://www.mongodb.com/docs/mongocli/current/
Repositoryhttps://github.com/mongodb/mongodb-cli
Upstream docshttps://www.mongodb.com/docs/mongocli/current
LicenseApache-2.0
Source archivehttps://github.com/mongodb/mongodb-cli/archive/refs/tags/mongocli/v2.0.7.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemongocli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

mongocli

sudo port install mongocli
  • normalized package name match
  • Matched by: Mongocli
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/mongocli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment