-
I have compiled MongoDB, MongoDB Shell and MongoDB Compass versions for MacOS. You can download and install them according to the following instructions.
-
MongoDB Control Panel is tool help you manage mongo server with button, so easy!
-
Official Link:
-
Mac ARM: MacOS 11 (Big Sur) or higher
-
Mac Intel: MacOS 10.13 (High Sierra) or higher
Check your system device info
neofetch
- Python3
python3 --version
- Pip
pip --version
-
MacOS ARM64
- Mongod 6.0.16: macOS 11.0 (Big Sur) or higher
- Mongod 7.0.12: macOS 11.0 (Big Sur) or higher
- Mongod 8.0.0: macOS 11.0 (Big Sur) or higher
-
MacOS Intel
- Mongod 4.1.1: macOS 10.13 (High Sierra) or higher
- Mongod 5.0.28: macOS 10.15 (Catalina) or higher
- Mongod 6.0.16: macOS 11.0 (Big Sur) or higher
- Mongod 7.0.12: macOS 11.0 (Big Sur) or higher
- Mongod 8.0.0: macOS 11.0 (Big Sur) or higher
-
MacOS ARM64
- MongoDB Compass 1.43.4: macOS 11.0 (Big Sur) or higher
-
MacOS Intel
- MongoDB Compass 1.27.0: macOS 10.13 (High Sierra) or higher
- MongoDB Compass 1.32.0: macOS 10.14 (Mojave) or higher
- MongoDB Compass 1.43.4: macOS 10.15 (Catalina) or higher
-
MacOS ARM64
- MongoDB Shell 1.10.6: macOS 11.0 (Big Sur) or higher
- MongoDB Shell 2.2.12: macOS 11.0 (Big Sur) or higher
-
MacOS Intel
- MongoDB Shell 1.10.6: macOS 10.14 (Mojave) or higher
- MongoDB Shell 2.2.12: macOS 11.0 (Big Sur) or higher
sudo mkdir -p /usr/local/mongodb
sudo chmod -R 777 /usr/local/mongodb
sudo mv ~/Downloads/folder-extracted/bin /usr/local/mongodb
- If you are using zsh
echo 'export PATH=/usr/local/mongodb/bin:$PATH' >> ~/.zshrc
source ~/.zshrc
- If you are using bash
echo 'export PATH=/usr/local/mongodb/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
sudo mkdir -p /usr/local/mongodb/data/db
sudo chown -R $(whoami):staff /usr/local/mongodb/data/db
sudo chmod -R 775 /usr/local/mongodb/data/db
mongod --version
mongo --version
using for mongodb version 6.0 or higher
sudo mv ~/Downloads/folder-extracted/bin/mongosh /usr/local/mongodb/bin
- Start MongoDB
mongod --dbpath /usr/local/mongodb/data/db
- Using MongoDB Shell
mongo
or
mongosh
git clone https://github.com/quandohong28/mongo-db.git
cd mongo-db
pip install tkinter threading subprocess pyinstaller
python3 mongo-control-panel.py
pyinstaller --onefile --windowed --icon=src/assets/MongoDBManager.icns --name="MongoDB Manager" src/v1/main.py
mv dist/mongo-control-panel /usr/local/mongodb/bin
mongo-control-panel