Anything safe to delete after upgrade?

Hello, people of the Mastodon world,

I’m going to start getting short on my VPS hard drive.
I’m already using a S3 service for media files.

Since my instance was installed in 2019 and updated continuously since then, I was wondering if it is safe to delete some unnecessary files accumulated over time.
Are there any files that are safe to delete after a Mastodon update (no docker)?

Here is what takes up the most space :

--- /home/mastodon --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    2,9 GiB [##########] /live
    2,0 GiB [######    ] /.cache
  769,3 MiB [##        ] /.rbenv
   20,0 MiB [          ] /.bundle
   17,0 MiB [          ] /.node-gyp
   14,2 MiB [          ] /.gem
  860,0 KiB [          ] /.bash-git-prompt
   44,0 KiB [          ] /.npm
   36,0 KiB [          ]  .bash_history
   28,0 KiB [          ] /mail
   24,0 KiB [          ] /.config
   16,0 KiB [          ] /.local
    8,0 KiB [          ] /.yarn
e   4,0 KiB [          ] /Mail
    4,0 KiB [          ]  .bashrc
    4,0 KiB [          ]  .psql_history
    4,0 KiB [          ]  .profile
    4,0 KiB [          ]  .bash_logout
    4,0 KiB [          ]  .yarnrc
    4,0 KiB [          ]  .selected_editor

--- /home/mastodon/.cache -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                         /..
    1,9 GiB [##########] /yarn
   40,0 MiB [          ] /node-gyp

--- /home/mastodon/.cache/yarn --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                         /..
    1,1 GiB [##########] /v6
  455,8 MiB [###       ] /v4
  369,1 MiB [###       ] /v5

Thank you !

you could try yarn cache clean and bundler clean

Thank you very much, it freed up ~2 GB !