DebugPoint published a tutorial about how to clean up Snap versions to free up disk space.
How to Clean Up Snap Versions to Free Up Disk Space
This quick guide with a script helps to clean up old snap versions and free some disk space in your Ubuntu systems. I was running out of disk space in my test system with Ubuntu. So I was investigating via GNOME’s Disk Usage Analyser to find out which package is consuming the precious SSD space.