"mongo" cannot be opened because the developer cannot be verified

I am following the instructions after downloading the MongoDB v4.2.6

When I type: mongo --nodb
I receive the error message:

“mongo” cannot be opened because the developer cannot be verified.
macOS cannot verify that this app is free from malware.

2 options: move to trash or cancel

Please check this link

Can’t install mongo on macOS

Hi @Marcus_Magarian,

I hope you were able to resolve your issue.

Please let us know if you are still facing any issue.

~ Shubham