AI Workshop: learn to build apps with AI →
macOS: Freeing space on a Mac

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


I filled almost all my MacBook’s hard drive.

The plan is to get a bigger hard drive soon when I’ll upgrade the MacBook with a more recent model, but in the meantime, I tried to drop all the useless stuff that it’s hiding somewhere.

I installed the app OmniDiskSweeper, which is freely available. This tool is interesting because it gives you more knowledge about what’s installed on your system. Many similar ones exist.

After a while (it has to look up all the files on the hard drive), it’ll tell you the folders that have the biggest size on disk, and you can start inspecting.

I deleted some things like

  • Homebrew packages, it had tons of caches and also stuff I installed who knows when, that I don’t use anymore
  • Folders created by apps I uninstalled
  • Cache files created by my video editing tools

And I found that some apps I had downloaded had used far more space than what their bundle icon in /Applications says.

Forgotten apps: I deleted a few digital synthesizers I had installed in the past and don’t use anymore.

I also found that a mostly unused AI image generator app is using a ton of space for models, caches, etc.

Lessons in this unit:

0: Introduction
1: How to use the macOS terminal
2: Productivity gains of using a Mac and an iOS device
3: A way to set up automations in macOS easily
4: How to hide a file or folder in macOS Finder
5: How to install a local SSL certificate in macOS
6: Reverting a file to a previous version, on a Mac
7: Take screenshots as JPG on macOS
8: Convert an image or resize it using macOS Shortcuts
9: Concatenating videos on macOS
10: Fix a file's creation date in macOS
11: ▶︎ Freeing space on a Mac
12: How to add an “Open in Terminal” icon in macOS Finder
13: How to add an “Open in VS Code” icon in macOS Finder
14: How to find the bundle ID of a Mac app
15: How to Fix the "Your CLT does not support macOS 11" error in macOS
16: How to play a sound from the macOS command line
17: How to remove the shadow from window screenshots in macOS
18: Removing all Homebrew stuff
19: Run a Node.js script from your macOS menu bar