~ $ uname -a Darwin bananajr-2.local 18.7.0 Darwin Kernel Version 18.7.0: Mon Feb 10 21:08:45 PST 2020; root:xnu-4903.278.28~1/RELEASE_X86_64 x86_64 ~ $ ls -l /usr/local/etc/mongod.conf ls: /usr/local/etc/mongod.conf: No such file or directory ~ $ ls -ld /usr/local/var/mongodb drwxr-xr-x 2 andrew.feierabend admin 64 Sep 22 10:38 /usr/local/var/mongodb ~ $ ls -la /usr/local/var/mongodb/ total 0 drwxr-xr-x 2 andrew.feierabend admin 64 Sep 22 10:38 . drwxrwxr-x 6 andrew.feierabend admin 192 Sep 22 10:38 .. ~ $ ls -ld /usr/local/var/log/mongodb drwxr-xr-x 2 andrew.feierabend admin 64 Sep 22 10:37 /usr/local/var/log/mongodb ~ $ ls -la /usr/local/var/log/mongodb/ total 0 drwxr-xr-x 2 andrew.feierabend admin 64 Sep 22 10:37 . drwxr-xr-x 3 andrew.feierabend admin 96 Jul 17 10:59 .. ~ $ brew tap mongodb/brew ==> Tapping mongodb/brew Cloning into '/usr/local/Homebrew/Library/Taps/mongodb/homebrew-brew'... remote: Enumerating objects: 46, done. remote: Counting objects: 100% (46/46), done. remote: Compressing objects: 100% (37/37), done. remote: Total 390 (delta 18), reused 19 (delta 9), pack-reused 344 Receiving objects: 100% (390/390), 81.13 KiB | 3.86 MiB/s, done. Resolving deltas: 100% (173/173), done. Tapped 10 formulae (37 files, 146KB). ~ $ brew install mongodb-community@4.4 Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/cask and caskroom/cask). ==> Updated Casks firefox firefox ==> Installing mongodb-community from mongodb/brew ==> Downloading https://fastdl.mongodb.org/tools/db/mongodb-database-tool Already downloaded: /Users/andrew.feierabend/Library/Caches/Homebrew/downloads/002cb6fdfe7881762c2b90e127cebec5618e9d01e22746aaa67a69bfbb2c9eff--mongodb-database-tools-macos-x86_64-100.1.1.zip ==> Downloading https://fastdl.mongodb.org/osx/mongodb-macos-x86_64-4.4.0 Already downloaded: /Users/andrew.feierabend/Library/Caches/Homebrew/downloads/bc3baa1e200144436b811c4951ca047b06b784930e83dc66a4554bfa0d2a13e2--mongodb-macos-x86_64-4.4.0.tgz ==> Installing dependencies for mongodb/brew/mongodb-community: mongodb-database-tools ==> Installing mongodb/brew/mongodb-community dependency: mongodb-da 🍺 /usr/local/Cellar/mongodb-database-tools/100.1.1: 13 files, 172.9MB, built in 3 seconds ==> Installing mongodb/brew/mongodb-community ==> Caveats To have launchd start mongodb/brew/mongodb-community now and restart at login: brew services start mongodb/brew/mongodb-community Or, if you don't want/need a background service you can just run: mongod --config /usr/local/etc/mongod.conf ==> Summary 🍺 /usr/local/Cellar/mongodb-community/4.4.0: 11 files, 136.7MB, built in 3 seconds ==> Caveats ==> mongodb-community To have launchd start mongodb/brew/mongodb-community now and restart at login: brew services start mongodb/brew/mongodb-community Or, if you don't want/need a background service you can just run: mongod --config /usr/local/etc/mongod.conf ~ $ brew services start mongodb-community@4.4 ==> Successfully started `mongodb-community` (label: homebrew.mxcl.mongod ~ $ ps aux | grep mongod | grep -v grep andrew.feierabend 97306 0.0 0.2 5564652 35224 ?? S 10:44AM 0:00.56 /usr/local/opt/mongodb-community/bin/mongod --config /usr/local/etc/mongod.conf ~ $ mongo MongoDB shell version v4.4.0 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("59b1adc4-ace6-41b6-a275-dcd0ce59e4ed") } MongoDB server version: 4.4.0 --- The server generated these startup warnings when booting: 2020-09-22T10:44:21.424-04:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted --- --- Enable MongoDB's free cloud-based monitoring service, which will then receive and display metrics about your deployment (disk utilization, CPU, operation statistics, etc). The monitoring data will be available on a MongoDB website with a unique URL accessible to you and anyone you share the URL with. MongoDB may use this information to make product improvements and to suggest MongoDB products and deployment options to you. To enable free monitoring, run the following command: db.enableFreeMonitoring() To permanently disable this reminder, run the following command: db.disableFreeMonitoring() --- > exit bye ~ $ which mongodump /usr/local/bin/mongodump ~ $ ls -l `which mongodump` lrwxr-xr-x 1 andrew.feierabend admin 54 Sep 22 10:42 /usr/local/bin/mongodump -> ../Cellar/mongodb-database-tools/100.1.1/bin/mongodump ~ $ mongodump --version mongodump version: 100.1.1 git version: 8bca136c2a0e0daa3947df31c0624c5615f9aa02 Go version: go1.12.17 os: darwin arch: amd64 compiler: gc ~ $ mongodump 2020-09-22T10:45:11.457-0400 writing admin.system.version to dump/admin/system.version.bson 2020-09-22T10:45:11.458-0400 done dumping admin.system.version (1 document)