The specific path depends on your Mac’s processor architecture:
- Apple Silicon (M1, M2, M3, etc.):
/opt/homebrew/etc/mongod.conf - Intel Processors:
/usr/local/etc/mongod.conf
Danang Setya Pramana - Working Memory
This is my working memory when i forgot some command and some code for my work
/opt/homebrew/etc/mongod.conf/usr/local/etc/mongod.conf