My iTerm2 had developed some bug where it no longer saved new profiles. After restarting the app, the new profile would be gone. Therefore I tried reinstalling the app. I deleted it from the Applicatiosn folder and downloaded and installed it again. Upon launch all settings were the same including the bug, so I uninstalled it again and began hunting for lingering files. I am now left with these:

$ sudo find / -iname iterm*
/Users/me/Library/Application Support/iTerm2

yet re-instaling the app still results in it looking and behaving like I had configured it before uninstalling. How can I properly purge this app? Are there files related to iTerm that my search is missing because they are named differently?


Some apps write small files in various directories that do not get removed when you delete the app. There are some utilities that will find these and delete them whenever you move an app to the trash. By the sound of your problem I think this is the case. App Cleaner is one such app. Some suggest not using these apps for various reasons. I've never had a problem with App Cleaner. You can also manually delete these files but they appear in several directories. You can try 'ls -lRt | grep iterm' to find these files and then delete them. Not all files listed should be deleted though so be cautious about the ones you do delete. A third option is to do an internet search on 'completely uninstall files Mac' and some sites list where these files are installed.

| improve this answer | |
  • AppCleaner seesm to have done the trick. I think it was ~/Library/Preferences/com.googlecode.iterm2.plist that I had missed previoulsy. – lo tolmencre May 27 '17 at 10:42

Delete ~/Library/Preferences/com.googlecode.iterm2.plist - would be a start.

| improve this answer | |
  • Deleting this file should not be something users have to do. And simply deleting it is not the correct method for removing these the defaults command should be used as stated in the iTerm2 FAQ. – Josh Habdas Nov 6 '19 at 10:18
  • And what does defaults delete com.googlecode.iterm2 do ?? - correct it deletes the ~/Library/Preferences/com.googlecode.iterm2.plist property file. I can't remember if this defaults command was mentioned back in 2017, when this thread was answered. – Rene Larsen Nov 6 '19 at 15:20

You can try sudo find / -iname com.googlecode.iterm*. This will give some more results.

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .