Ejecute los siguientes comandos para eliminar mongodb del inicio/inicio y desinstalarlo usando Homebrew:
# See if mongo is in the launch/startup list
launchctl list | grep mongo
# Remove mongodb from the launch/startup
launchctl remove homebrew.mxcl.mongodb
# Kill the mongod process just in case it's running
pkill -f mongod
# Now you can safely remove mongodb using Homebrew
brew uninstall mongodb
Simplemente verifique dos veces en /usr/local/bin/
para asegurarse de que se eliminen los comandos mongodb.