Zsh: bad CPU type in executable: mongo

Hi @Aravind_Adla,

This is an older question but I wanted to note that although MongoDB does not run natively on M1 processors at the moment, you can use macOS’ Rosetta Translation Environment to run the Intel binaries. If you don’t have Rosetta installed, I believe you should be prompted to install this the first time you try to run an Intel binary.

Follow the standard Install MongoDB Community Edition on macOS guide to install MongoDB server & tools via the Homebrew package manager. The only other requirement is that you have installed Rosetta (which is a one-off installation if you want to run any Intel apps).

Regards,
Stennie