leoafarias / fvm

Flutter Version Management: A simple CLI to manage Flutter SDK versions.
https://fvm.app
MIT License
4.59k stars 226 forks source link

Fvm folder size too big #741

Closed lim-freddy closed 3 months ago

lim-freddy commented 3 months ago

My fvm folder is too big. When i checked the content, the biggest folder is cache and .git (hidden folder on my mac). Is it ok to clear both folder?

Is there any command i can use to clear both folder only? And which fvm version supported that command?

leoafarias commented 3 months ago

@lim-freddy you can use fvm destroy; however, the cache should just have a copy of the Flutter git. The versions directory should be where the size is, which contains the different versions of Flutter.

lim-freddy commented 3 months ago

I read fvm destroy will clear all my flutter version too, is it true? after use that command, must I install all my previous flutter version again?

leoafarias commented 3 months ago

Yes, that is true, correct, or you can use fvm remove <version> to remove individual versions.