Can I delete .dmg files after installing?

A .dmg is a disk image that carries an app to your Mac. Once the app is in Applications and opens from there, the disk image has done its job. Old installers in Downloads are one of the easiest places to free space.

Diskly explaining Ubuntu-24.04-desktop-arm64.iso in Downloads: an installer, usually safe to remove once the app is installed

In short

Yes. Once the app is in your Applications folder, opens from there, and the disk image is ejected, the .dmg can go. Deleting it doesn’t uninstall the app. Keep it only if you couldn’t download that version again.

Check these two things first

  1. The app is in Applications. Open Finder › Applications and make sure it’s there. If you’ve been opening the app straight from the mounted disk image, it isn’t installed yet: drag it into Applications first.
  2. The disk image is ejected. If it still shows in Finder’s sidebar under Locations, click the eject button next to it before you delete the .dmg file.

When to keep an installer

  • You can’t download it again, for example a paid app whose old version is no longer offered, or a version you need for an older macOS.
  • It installs more than one thing, like a plug-in bundle you may want to reinstall later.

Everything else can usually be downloaded again from the developer’s site, often in a newer version.

The same goes for .pkg and .zip

A .pkg installer can go once it has run and the app works. A .zip you’ve already unpacked can go too, as long as the unpacked folder or app is still there.

Finding the old ones

In Finder, open Downloads, switch to list view and sort by Kind or Size. Disk images show as “Disk Image”. Or list them with sizes in Terminal:

Terminal
ls -lhS ~/Downloads/*.dmg ~/Downloads/*.pkg 2>/dev/null

Diskly does the checking for you: it lists installers in Downloads whose app is already in Applications, with the installed version beside it, and archives whose unpacked folder sits next to them.

Diskly’s details for Ubuntu-24.04-desktop-arm64.iso, 3.4 GB in Downloads: an installer or disk image, usually safe to remove if the app is installed
Select an installer in Diskly and it says what it is and when it’s safe to remove.

Questions people ask

Can I delete a .dmg after installing the app?

Yes, once the app is in your Applications folder and opens from there, and the disk image has been ejected.

Does deleting the .dmg uninstall the app?

No. The app runs from Applications; the .dmg was only the package it came in.

Keep reading

All guides →