To see the space
ncdu
df -h
diskutil info / | grep "Free Space"
To make space on mac
docker system prune --all --force --volumes
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
docker volume rm $(docker volume ls |awk '{print $2}')
rm -rf ~/Library/Containers/com.docker.docker/Data/*
yarn cache clean
xcrun simctl delete unavailable
brew cleanup
rm -rf $(brew --cache)
gem cleanup --dryrun
gem cleanup
find . -name "node_modules" -type d -mtime +120 | xargs rm -rf
find . -name "node_modules" -type d | xargs rm -rf
rm -rf ~/Library/Caches
sudo rm -rf /private/var/log/*`