MacOS – How to remove Firefox using terminal

firefoxmacosterminal

I'm a beginner with Mac OS X. Would somebody please tell me how to fully uninstall Firefox using Terminal on Mac OS X Lion?

I'm experiencing hangs and crashes with Firefox 5.0.1, so I want to remove it then re-install it.

Thanks so much in advance.

Best Answer

To remove Firefox.app:

  • Login with an administrator account
  • sudo rm -rf /Applications/Firefox.app/

You get the same result by just dragging the Firefox app from /Applications/ to the trash.

If the crashes continue after reinstalling, deleting preferences and support files in the user library may help:

  • ~/Library/Preferences/org.mozilla.firefox*
  • ~/Library/Application Support/Firefox
  • ~/Library/Application Support/Mozilla
  • ~/Library/Mozilla
  • ~/Library/Caches/Firefox