Skip to main content

How to clear common Mac apps caches (advanced)

If the instructions contained in the Clear font caches page did not solve your problem, you may want to try the following commands in a Terminal window, which will delete cache files for many common apps.

OSX font caches

sudo atsutil databases -remove
atsutil server -shutdown
atsutil server -ping
sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache`

Entire OSX caches

rm -R ~/Library/Caches/*

Safari cache

rm /Users/$HOME/Library/Caches/com.apple.Safari/Cache.db`

Google Chrome cache

rm -R ~/Library/Application\ Support/Google/Chrome/Default/Application\ Cache/*

Microsoft Office font cache

The following command may vary, depending on your version of Microsoft Office.

rm ~/Library/Containers/com.microsoft.Excel/Data/Library/Caches/
rm ~/Library/Containers/com.microsoft.Word/Data/Library/Caches/
rm ~/Library/Containers/com.microsoft.Powerpoint/Data/Library/Caches/
rm ~/Library/Containers/com.microsoft.Excel/Data/Library/Application Support/Microsoft/Office/16.0/Wef/
rm ~/Library/Containers/com.microsoft.Word/Data/Library/Application Support/Microsoft/Office/16.0/Wef/
rm ~/Library/Containers/com.microsoft.Powerpoint/Data/Library/Application Support/Microsoft/Office/16.0/Wef/
rm ~/Library/Containers/com.microsoft.Office365ServiceV2/Data/Caches/com.microsoft.Office365ServiceV2/
rm ~/Library/Containers/com.microsoft.Office365ServiceV2/Data/Library/Caches/com.microsoft.Office365ServiceV2/
rm /Users/$HOME/Library/Containers/com.Microsoft.OsfWebHost/Data/
rm ~/Library/Preferences/Microsoft/Office Font Cache (11)
rm ~/Library/Preferences/Microsoft/Office 2008/Office Font Cache (12)
rm ~/Library/Preferences/Microsoft/Office 2011/Office Font Cache

Apple iWork & Keynote cache

rm ~/Library/Caches/com.apple.iwork.fonts
rm /$HOME/Library/Containers/com.apple.iWork.Pages/Data/Library/Caches
rm /$HOME/Library/Containers/com.apple.Notes/Data/Library/Caches
rm /$HOME/Library/Containers/com.apple.iWork.Keynote/Data/Library/Caches
rm /$HOME/Library/Containers/Keynote/Data/Library/Caches/com.apple.iWork.Keynote
rm /$HOME/Library/Containers/com.apple.iWork.Keynote/Data/Library/Caches/com.apple.iWork.Keynote
rm /$HOME/Library/Containers/com.apple.iWork.Keynote/Data/Library/Caches/com.apple.iWork.Keynote.fonts