Free Disk Space

By Tim Hopper — tdhopper.com

Tools for cleaning up your system and freeing up space, especially for developers.

Use at your own risk.

Command Line

Docker

docker system prune --all

Conda

conda clean --all

Git

git gc --aggressive --prune=now

Homebrew

brew cleanup -s

apt-get / aptitude

apt-get clean
# or
apt clean
# or
aptitude clean

Mac/Linux Cache Folder

rm -r ~/.cache

Yarn

yarn cache clean

Utilities

Use at your own risk.

(Pull request’s welcome)