iTranslated by AI
How Flutter Engineers Can Free Up Storage Space on Mac
Introduction
When developing with Flutter on Mac, you may run out of storage space. In this article, I will introduce how to delete unnecessary files and methods to prevent storage shortages.
Delete Old Flutter SDKs
The Flutter SDK is several gigabytes in size, and installing multiple versions can consume significant space.

For asdf users, delete unnecessary versions under the .asdf/installs/flutter directory.

To delete via command:
asdf list flutter
```text
```zsh:Uninstall
asdf uninstall flutter version
Deleting Xcode-related files
You can also delete unnecessary files related to Xcode. The following article is easy to understand for details.
https://dev.classmethod.jp/articles/remove-xcode8-related-unnecessary-files/
In this article, I will introduce apps that allow you to delete them easily.
DevCleaner
DevCleaner is an app that can easily delete the unnecessary files introduced in the previous article.
It's very easy because you don't have to remember which files can be deleted 🥳
https://twitter.com/_mono/status/1154556552637865984?s=20
It can be installed from the App Store.
https://apps.apple.com/app/devcleaner/id1388020431
Xclean
Xclean stays in the menu bar and allows you to delete Derived Data.
It seems to support Derived Data among unnecessary files 👀
It might be good to use them for different purposes: delete Derived Data regularly with Xclean, and use DevCleaner for everything else only when updating Xcode, etc.
https://twitter.com/iori_eth/status/1643266134668632064?s=20

Since it doesn't seem to be on the App Store, download and use the latest zip from the release assets.
https://github.com/macmade/Xclean/releases
Checking Storage Capacity
This app is useful for checking other files that can be deleted.
DaisyDisk
DaisyDisk is an app that displays a detailed breakdown of your storage. It is much easier to see than the Mac Settings app.
If you want to delete unnecessary files more thoroughly, it might be worth buying. (I found myself impulsively purchasing it before I knew it.)
If you click on a section with a large area, you can see the Flutter installation part mentioned at the beginning 👀
You can visually find unnecessary files in an easy-to-understand way and delete them immediately.

You can download a trial version from the official page.
You can purchase it from the official page or from the App Store.
Summary
I have introduced some tips for when you want to free up storage space on your Mac.
Discussion