How to Free up Space on Mac OS ?
Mac OS X TutorialsWe all panic when we see the message your startup disk is almost full, or your disk is almost full. save space by optimizing storage. So let me tell you how to free up a good space in your mac, starting from obvious ways reaching to advanced methods to gain more storage space.
==== The Obvious ====
- empty the trash can
- delete unwanted programs / apps installed on your mac
- delete unwanted files in your download folder / directory which is
~/Download/
- delete unwanted movies and videos in
~/Movies/
- delete unwanted music in
~/Music/
- delete unwanted documents and files located in
~/Documents/
- delete unwanted screenshots and screencasts if you have any.
- delete unwanted system images of android in
~/Library/android/
==== The Others ====
- delete unwanted programs installed by Homebrew. use
brew list
to list all installed apps, and usebrew uninstall program-name
to uninstall any unwanted program. - delete unwanted programs installed by MacPorts. use
port installed
to show a list of all installed programs, and useport uninstall some-program
to uninstall any unwanted program. - delete projects, library and programs installed by Python’s pip and pip3.
- delete projects, library and programs installed by NodeJS’s npm.
- delete projects, library and programs installed by deno.
- delete unwanted hidden cache files of
~/.pip
,~/.android
,~/.composer
,~/.tesseract
,~/.npm
,~/.gradle
,~/.cocoapods
,~/.matplotlib
,~/.local
,~/.docker
,~/.macports
and other hidden cache folders / directories which are located in the home directory (/System/Volumes/Data/home
or/home
or just~
).