Documentation Index
Fetch the complete documentation index at: https://mintlify.com/legendary-gl/legendary/llms.txt
Use this file to discover all available pages before exploring further.
legendary cleanup removes stale files that accumulate in Legendary’s data directory over time — temporary download chunks, outdated metadata, and (optionally) old manifest files. Running it periodically keeps disk usage in check without affecting installed games or your configuration. The command is safe to run at any time when no install or update is in progress.
Usage
Options
| Flag | Description |
|---|---|
--keep-manifests | Skip deletion of old manifest files; all other temporary and metadata files are still removed |
Examples
Full cleanup — remove all temporary files, metadata, and old manifests:What Gets Cleaned
The following types of files are targeted bycleanup:
- Temporary download files — partial chunk data left behind by interrupted or completed installs.
- Old metadata — cached game asset information that is no longer current.
- Old manifest files — binary or JSON manifests from previous game versions (unless
--keep-manifestsis passed).
Manifest files are small but useful for inspecting update history or downgrading games manually. If you ever need to reference an older game version, pass
--keep-manifests to preserve them. They do not meaningfully affect disk usage for most users.