MAC OS Speed Up
07 Aug 2022 / 3 minutes to read
Hi everyone! I hope that you enjoy this summer.
I want to tell something very personal about myself (some of my readers complain that this blog is too technical). I want to share my secret with you, don't tell anyone ;) I am a secret admirer of trees and nature! I think trees speak with the Universe and can tell us about everything should we listen patiently!
Enough secrets (they might be misleading!). Let's get technical!
After a while, my MAC OS computer started to work slower. I have searched for possible solutions to run my computer faster without much latency. We can upgrade our computer storage and install a more powerful processor unit to speed up MAC OS. In this blog post, I will, however, focus on a more straightforward way without any system upgrades, which are costly and take time. Without much effort, we can do the following:
- Clear MAC OS caches
- Empty the Trash
- Free your computer memory with the purge.
Clearing Up MAC OS caches
MAC OS caches are stored in the ~/Library/Caches folder. We can open that folder in Finder with Shift+cmd+G, select all subfolders with cmd+A, and move all of them into the Trash. If you still need cached folders, you can deselect them with cmd+Mouse click.
Empty the Trash
To empty your Trash bin, right-click on it and select “Empty Trash.”
To empty your computer RAM (Random Access Memory), you can use the MacKeeper app, or use Terminal Utility for purging your memory. The Terminal application is in the Applications/Utilities folder. In the Terminal window, type in sudo purge, which will clean up your computer RAM and caches. You will need your administrative password for running the purge command.
Using the Bash Script
The section is a command-line-friendly version of the steps I have described above. To automate the clean-up process, I have written a small bash script, which you can modify and adapt to your needs. Please be cautious that you keep files you need.
# Go to the ~/Library/Caches folder
# Remove everything there
rm -rf *
# Empty the Trash
rm -rf ~/.Trash/*
# RAM and caches clean up
I have described the most straightforward steps to speed up your MAC computer. You can also go into more details by consulting the following references. Let me know if you have new blog topic ideas or suggestions!
Did you like this post? Please let me know if you have any comments or suggestions.Posts about development tools and Python coding
Elena, a PhD in Computer Science, simplifies AI concepts and helps you use machine learning.