iRaven

iRaven // Preen

Preen

Frees disk space and memory on your Mac, and shows and resets what each app is allowed to do.

Preen lists everything it finds with its size, and removes only what you confirm. What you may want back goes to the Trash.

What it does

Programs fill a Mac a little every day: caches, logs, build data, old simulators, the disks of virtual machines, AI models. macOS shows most of it as one bar with no detail, so you cannot tell what you can remove. Many people do not trust a cleaner with that choice.

Preen scans your Mac, lists everything it found with its size, and waits. You choose, Preen cleans, and it reports what it did. What you may want back goes to the Trash. Preen is made for a developer's Mac, so it knows the caches, logs and build data that gather there. It comes as a window app, Preen.app, with an item in the menu bar, and as a command line, preen. Both use the same engine: the part that holds every rule and does every removal.

Preen is free to install and use. Its source can be read at gitlab.com/koushamad/preen, under the Microsoft Reference Source License: it may be read, and it may not be changed, built on or distributed. Versions up to 0.1.1 were released under the MIT licence.

Download

Download PreenPreview

  • Installer39.4 MB (39,442,917 bytes)
  • Disk image41.5 MB (41,502,930 bytes)
Version
0.2.0
  • Each file needs macOS 14 or later and serves Apple silicon and Intel Macs.
  • Each file is signed with a Developer ID and notarized by Apple, with the ticket stapled. It opens with no warning beyond the usual question about a file from the internet.
  • Preview: the new features of 0.2.0 and some real removals are not yet tried on a real Mac.

Check the download

Preen-0.2.0.pkg
46ed926742aced46366f3b24a5cc818190043f21027f1eacc7550992b6fb00e4
Preen-0.2.0.dmg
462621bfb4099db0964c8823d01d8cd367f3ac441ed20ba8fdeccfaa679a4045

To check a file, run shasum -a 256 on it in the terminal. It prints the value shown here for that file.

How to install

With the installer (recommended)

  1. Download Preen and open the file. The installer puts Preen in the Applications folder. macOS asks for an administrator password, as it does for every installer.
  2. Preen opens on a short setup with two steps. Each step has one button and ticks itself when it is done.
    • Full Disk Access. Press Open System Settings and switch Preen on in the list. macOS may ask to quit and reopen Preen; say yes. Without this, some folders cannot be scanned.
    • Administrator helper (optional). Press Install Helper, then Open Login Items Settings, and switch Preen on under "Allow in the Background". macOS asks for an administrator password, which Preen never sees. With the helper, Preen can also scan and clean system caches, system logs and system crash reports, uninstall apps that need an administrator, and change the startup items of the whole Mac.
  3. When both steps are done or skipped, press Start Your First Scan, or Not now to close the setup.

macOS lets only you switch these two on, and no installer can do it for you. Both can be skipped and done later from Preen's Settings.

With the disk image

Open the image, drag Preen to the Applications folder, and open Preen from there. The same setup appears. The helper works only when Preen is in the Applications folder.

Remove Preen

In Preen's Settings press Remove Helper, quit Preen, and move it to the Trash.

The command line is inside the app, at Preen.app/Contents/Helpers/preen. Preen's source can be read for reference. Its licence does not allow anyone to build it or change it.

Features

How it works

  1. Nothing is hidden

    Every finding is listed with its size, and so is a group that is empty or that Preen could not read. You can look at each finding before anything happens.

  2. What can be put back goes to the Trash

    A finding that you may want back goes to the Trash. Preen deletes caches, logs and crash reports, which programs make again, and the confirmation says so. For other kinds, deleting without the Trash is a choice for one run. Preen never remembers that choice, and a failed move to the Trash never becomes a delete.

  3. Every clean is a plan

    Before a clean, Preen shows a plan: what will go, how many items, and how much space. You confirm it. A plan runs once, and it expires 15 minutes after its scan.

  4. Some places are never touched

    Protected places, such as keychains, mail, messages, photos, calendars, contacts and secret keys, are never removed. An item whose app is running is left alone until the app is closed. Right before a removal, Preen checks that each item is still the one it scanned. Every action is written to a log.

  5. The command line changes nothing unless told to

    On the command line every clean is a dry run: a run that only says what it would do. Only --apply makes it remove anything.

What the window looks like

The pictures show the window with example data, not the files of a real Mac.

What is not yet tried on a real Mac

Preen is a preview. On a real Mac, these have been tried: the scan of junk files, installing the helper, the helper's scan of system places, and finding where macOS 27 now keeps your own privacy choices (reading them was not tried yet). The installer of 0.1.1 was tried once, over an earlier version on a Mac where the helper was already approved. The installer on a Mac that never had Preen has not been tried yet. Everything else passes Preen's own tests but is not yet tried on a real Mac: a real clean, a real uninstall and reset, quitting an app, emptying the file cache, changes to startup items, the Overview, the reset of permissions, the menu bar item, and every clean and Restore through the helper. That includes everything new in 0.2.0, such as the uninstall of apps that need an administrator, the startup items of the whole Mac, the permissions of apps that are gone, and the installer's new pages.