How do you purge all the old go.app/pkg versions? Over time, I am seeing that building Go projects locally eat up a lot of my disk space For example, how can I purge all the old versions and leave only the latest versions of these pkgs on my disk? #golang @golang

Jun 3, 2022 · 1:08 PM UTC

.. and yes, I did try deleting those manually, but I get the "Permission denied" error. So I really hope that Go has a built-in command to do this cleanup.