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 days92,370
Downloads8,706,342
Analytics install events (30 days)9,756
Downloads / install events (30 days)9.5×

Source: GitHub Packages, fetched 2026-11-03T00:39:42Z. Analytics dates: 2026-10-04 to 2026-11-03. 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
Installs9,74119,281133,457
Installs (--HEAD)1528145
Installs on Request7,83914,56075,902
Installs on Request (--HEAD)1528145
Build Errors2