Game launchers are small browsers: they keep the web pages of their store and library, artwork, update manifests, logs and crash dumps next to your games. None of it is a game or a save, and the launcher downloads or writes it again. With Steam that is often 0.5–3 GB.
See how big they are on a Mac:
du -sh ~/Library/Application\ Support/{Steam,Epic,Battle.net,GOG.com,minecraft,PrismLauncher} 2>/dev/null
On Ubuntu:
du -sh ~/.local/share/Steam ~/.steam/debian-installation ~/.var/app/com.valvesoftware.Steam ~/snap/steam \
~/.minecraft ~/.local/share/PrismLauncher 2>/dev/null
These totals include your games. Only the folders below are caches.
What is safe to delete
Quit the launcher first (and the game: Minecraft runs as a java process that can outlive the launcher). Delete what is inside these folders, not the launcher’s whole folder.
Steam (Mac: ~/Library/Application Support/Steam; Ubuntu: ~/.local/share/Steam or, with the steam package from Ubuntu’s archive, ~/.steam/debian-installation (~/.steam/root and ~/.steam/steam link to whichever you have), Flatpak ~/.var/app/com.valvesoftware.Steam/data/Steam, Snap ~/snap/steam/common/.local/share/Steam):
appcache/httpcache config/htmlcache depotcache logs dumps
On a Mac also htmlcache, appcache/librarycache (library artwork) and steamapps/shadercache. On Ubuntu the shader cache comes with Proton: see Steam, Proton and shader cache on Ubuntu.
Epic Games Launcher (Mac): ~/Library/Application Support/Epic/EpicGamesLauncher/Saved/webcache* and Saved/Logs.
Battle.net (Mac): BrowserCaches, Cache and Logs in ~/Library/Application Support/Battle.net.
GOG Galaxy (Mac): ~/Library/Application Support/GOG.com/Galaxy/webcache.
Minecraft (Mac: ~/Library/Application Support/minecraft; Ubuntu: ~/.minecraft, Flatpak ~/.var/app/com.mojang.Minecraft/.minecraft): logs, crash-reports, webcache2 (older launchers: webcache).
Prism Launcher (Mac: ~/Library/Application Support/PrismLauncher; Ubuntu: ~/.local/share/PrismLauncher, also Flatpak): logs, cache, and logs and crash-reports inside each instance (instances/<name>/.minecraft or minecraft).
For example, with Steam closed:
rm -r ~/Library/Application\ Support/Steam/appcache/httpcache/*
On Ubuntu ~/.steam/root works for both deb locations:
rm -r ~/.steam/root/appcache/httpcache/*
What to never delete
- Steam:
steamapps(games,.acffiles,downloadingwith resumable downloads,workshop,compatdatawith Proton prefixes and saves),userdata(saves, settings, custom artwork), the rest ofconfigand thessfn*files (your sign-in). - Epic:
Saved/ConfigandData/Manifests(which games are installed). - Battle.net:
Battle.net.config,Agent, and~/Library/Application Support/Blizzard(game data). - GOG Galaxy:
plugins,Storage(the library database) and/Users/Shared/GOG.com(games). - Minecraft and Prism:
saves(worlds),mods,resourcepacks,shaderpacks,screenshots,config,options.txt,versions,libraries,assets, account and profile files (launcher_accounts*.json,launcher_profiles.json, Prism’saccounts.json).
To get back space from games themselves, uninstall them in the launcher.
How CleanMate does it
CleanMate lists each launcher as its own item with its size, empties only the cache folders above and keeps the folders themselves. Nothing is removed until you confirm.
- macOS (CleanMate 1.12, all macOS features): Smart Scan › Applications has Steam, Epic Games Launcher, Battle.net, GOG Galaxy, Minecraft and Prism Launcher (with each instance’s logs and crash reports). Ticked, since the launcher downloads them again; skipped while the launcher runs, and a log the game still has open is left out.
- Ubuntu (CleanMate 2.7.0, all Ubuntu features): User & App Junk has Steam caches (
appcache/httpcache,config/htmlcache, depot manifests, logs, dumps) for deb, Flatpak and Snap Steam, and Minecraft caches for the official launcher and Prism Launcher, deb and Flatpak, one row per folder. Pre-selected; Steam is skipped while Steam runs, Minecraft while a launcher or any Java program runs. A Steam folder reached through a link counts once.
Games, downloads in progress, saves, worlds, mods, resource packs, screenshots, settings and sign-ins are never touched. Old Proton and Wine builds and Lutris and Heroic caches on Ubuntu: Steam, Proton and shader cache. For the rest of the disk: Free up disk space on a Mac, on Ubuntu. Download CleanMate.
FAQ
Will I lose my games or saves? No, as long as you delete only the folders listed above. Games are in steamapps and the launchers’ library folders; saves are in userdata or the game’s own folder.
Will I have to sign in again? No. Sign-ins are in Steam’s ssfn* files and config, and in the launchers’ account files, none of which are caches.
Why does Steam’s web cache grow so much? The store, library and community pages are a built-in browser, and it keeps every image and script it loaded.
Is it safe to delete Minecraft logs and crash reports? Yes, with the game closed. They are only for troubleshooting; the game writes new ones.
