mongosh

Install command:
brew install mongosh

MongoDB Shell to connect, configure, query, and work with your MongoDB database

https://www.mongodb.com/try/download/shell

License: Apache-2.0

Development: Pull requests

Formula JSON API: /api/formula/mongosh.json

Formula code: mongosh.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.9.2

Depends on:

node 26.5.0 Open-source, cross-platform JavaScript runtime environment

Analytics:

Installs (30 days)
mongosh 8,875
mongosh --HEAD 15
Installs on Request (30 days)
mongosh 5,730
mongosh --HEAD 15
Build Errors (30 days)
mongosh 18
Installs (90 days)
mongosh 31,193
mongosh --HEAD 39
Installs on Request (90 days)
mongosh 16,432
mongosh --HEAD 39
Installs (365 days)
mongosh 167,467
mongosh --HEAD 189
Installs on Request (365 days)
mongosh 89,165
mongosh --HEAD 188