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.8.3

Depends on:

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

Analytics:

Installs (30 days)
mongosh 7,187
mongosh --HEAD 5
Installs on Request (30 days)
mongosh 3,787
mongosh --HEAD 5
Build Errors (30 days)
mongosh 17
Installs (90 days)
mongosh 34,806
mongosh --HEAD 36
Installs on Request (90 days)
mongosh 17,287
mongosh --HEAD 36
Installs (365 days)
mongosh 175,634
mongosh --HEAD 190
Installs on Request (365 days)
mongosh 93,148
mongosh --HEAD 189