Free Disk Space
Tools for cleaning up your system and freeing up space, especially for developers.
Use at your own risk.
Command Line
Docker
docker system prune --allConda
conda clean --allGit
Cleanup unnecessary files and optimize the local repository
git gc --aggressive --prune=nowDeleted merged branches (except for master, main, develop or dev)
git branch --merged | egrep -v "(^\*|master|main|develop|dev)" | xargs git branch -dHomebrew
brew cleanup -sapt-get / aptitude
apt-get clean
# or
apt clean
# or
aptitude cleanMac/Linux Cache Folder
rm -r ~/.cacheuv
uv cache pruneYarn
yarn cache cleanUtilities
- CleanMyMac
- DaisyDisk
- Monolingual: “program for removing unnecessary language resources from macOS, in order to reclaim several hundred megabytes of disk space”
Use at your own risk.