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
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.14.3

Depends on:

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

Binaries: mongosh

GitHub Packages downloads:

Last 30 days102,918
Downloads8,802,688
Analytics install events (30 days)10,286
Downloads / install events (30 days)10.0×

Source: GitHub Packages, fetched 2026-12-01T01:09:08Z. Analytics dates: 2026-11-01 to 2026-12-01. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs10,26623,220129,404
Installs (--HEAD)2037149
Installs on Request8,12318,31376,156
Installs on Request (--HEAD)2037149
Build Errors16