From time to time I get this alert usually when saving data or installing softwares, creation python environments: no space left
Where to clean
The simpler way to see where it happens (which filesystem is concerned by this alert) is df -h.
In my case it is likely in / or in vbox mounted point or in /var/lib/docker/overlay2
A good way to identify sub-directory size is by running du -h -d 1 -x
And then I have to see which part of these filesystems are abnormally huge.
What to clean
I like baobab to identify this.
baobab
baobab

How to clean
pip
if ~/.cache/pip is the culprit.
one can run pip cache purge
.cache
Some folders can be deleted from .cache such as huggingface which caches models or datasets
conda
pkgs
conda clean -a
envs
conda env can take huge spaces.
When unused, I can simply remove them:
conda remove --name <env_name> --all

just looking at Size and last modified date is enough to filter what has to be kept and pruned.
docker
In /var/lib/docker/overlay2
docker system prune -a -f
> Total reclaimed space: 94.13GB