0

I need to delete all mongoDB thing in my mac.

i followed the uninstall guide on mongoDB uninstall official guide

but on step 2 which is

`launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
rm -f ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
launchctl remove homebrew.mxcl.mongodb-community`

i got this error: Unload failed: 5: Input/output error Try running "launchctl bootout" as root for richer errors.

1 Answer 1

0

I have successfully uninstalled guys. For Apple Sillicon users, brew prefix is set to /opt/homebrew/etc/ insted of /usr/local/.

So what i did is cd /opt/homebrew/ then ls it.

i found related folders/files with mongodb. i used rm -rf to removed them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.