Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 4 down vote accepted

To remove

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

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
share|improve this answer
please can you list me those files when you get back home – JAHelia Nov 30 '11 at 11:44
@JAHelia, you could use a program like AppCleaner to do the search & deletion for you. – koiyu Nov 30 '11 at 13:34
thank you so much patrix for your help. – JAHelia Dec 3 '11 at 5:43

It's very probable that your profile is corrupt, rather than Firefox itself (in which case, deleting Firefox won't help as any new installation will use the corrupt profile).

Creating a new profile may help - the safest way to do that is using the Profile Manager.

share|improve this answer

You might also consider uninstalling it using AppZapper, which will remove the app and all of its configuration files. There is a fully-functional free trial available.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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