To remove temporary and junk files on your Mac, follow the steps detailed below. Maintaining clean and efficient local storage is beneficial for overall system performance and can indirectly affect how you manage and allocate your iCloud storage. For instance, ensuring that your Mac has sufficient free space can improve its functionality, including the efficiency of iCloud sync processes for the data that uses iCloud storage, like your documents, photos, and backups. System and user temporary files. You can delete cached files by opening Finder and going to the following folders: Library/Caches/, ~/Library/Caches, ~/Library/Logs, and /var/log. Another way is to press Command + Shift + G in Finder and enter the path of the folder you want to access (e.g., ~/Library/Caches). Safari browser cache. In Safari’s Settings, go to the Advanced tab and click the checkbox next to the Show Develop menu or Show features for web developers to enable the Develop menu in your Safari menu bar. You can then use this menu to select Empty Caches to clear the browser's cache. Google Chrome browser cache. Open settings in the menu (or go to chrome://settings) and go to Privacy and security. Click on the Clear browsing data option — this opens a new window where you can select what data to clear, like cookies or cached images and files. After making your selections through the Basic or Advanced window, click on the Clear data button. App leftovers. Remove residual files from uninstalled apps in folders: ~/Library/Application Support, ~/Library/Preferences/, ~/Library/Saved Application State/, and ~/Library/Application Support/CrashReporter/. App installers. Use Finder's search with Command + F, select File extension, and type in dmg to locate and delete file installers you don’t need. Just a tip that third-party apps like CleanMyMac X, Avast Cleanup, or CleanMyPhone, can help you delete all of these unnecessary files in bulk without manually browsing every folder and without the risk of accidentally deleting files necessary for the proper functioning of your Mac.