- See how full each drive is
df -hLook at the Use% column for the line ending in / or /System/Volumes/Data.
- Find the biggest folders in your home folder
du -sh ~/* 2>/dev/null | sort -h | tail -10The biggest ones are at the bottom. Can take a minute on a big disk.
- Look inside one of them
du -sh ~/Library/* 2>/dev/null | sort -h | tail -10Swap ~/Library for any folder from the last step and keep drilling down.
- See how full each drive is
df -hLook at the Use% column for the line mounted on /.
- Find the biggest folders in your home folder
du -h --max-depth=1 ~ 2>/dev/null | sort -h | tail -10The biggest ones are at the bottom. The last line is the total.
- Find the biggest folders on the whole systemNeeds sudo
sudo du -xh --max-depth=1 / 2>/dev/null | sort -h | tail -10-x stays on this one drive. Then run the same command on the biggest folder to drill down.
- See how full each drive is
Get-PSDrive -PSProvider FileSystemUsed and Free are shown in GB for each drive letter.
- Go to the folder you want to check
cd $HOME - Find the biggest folders in it
Get-ChildItem -Directory -Force | ForEach-Object { $size = (Get-ChildItem $_.FullName -Recurse -File -Force -ErrorAction SilentlyContinue | Measure-Object Length -Sum).Sum [pscustomobject]@{ Folder = $_.Name; GB = [math]::Round($size / 1GB, 2) } } | Sort-Object GB -Descending | Select-Object -First 10The biggest ones are at the top. Can take a minute on a big disk.