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

Depends on:

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

Binaries: mongosh

GitHub Packages downloads:

Last 30 days86,028
Downloads8,730,110
Analytics install events (30 days)8,936
Downloads / install events (30 days)9.6×

Source: GitHub Packages, fetched 2026-11-11T00:51:19Z. Analytics dates: 2026-10-12 to 2026-11-11. 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
Installs8,92019,495130,424
Installs (--HEAD)1629148
Installs on Request7,14314,97974,713
Installs on Request (--HEAD)1629148
Build Errors1