Troubleshooting
Cleanr opens, but nothing is scanned
This is expected. Startup only sets the scan roots. Press s, run /scan, or
press u for a usage scan.
The command palette does not show /review or /clean
Commands that require scan results stay hidden until a scan finishes. Run
/scan first. If a scan is still active, wait for it to finish or cancel it
with Esc or x.
A scan finds no candidates
Check the following:
- The relevant pack is listed in
cleanup.enabled_rule_packs. - The target is not excluded by
ignore_dirsorignore_patterns. - The item meets the rule's size, age, name, or path requirements.
- You scanned the directory that contains the candidate, not the candidate directory as the root. Scan roots themselves are never cleanup candidates.
Use /rules to inspect loaded rules and /plugins to confirm custom bundles
were discovered.
/scan --global says no cleanup locations were found
The current platform did not report any known user-level system cleanup locations for the selected global categories. You can still provide paths explicitly:
/scan /home/me/.cargo /home/me/.npm
Use absolute paths that exist on your operating system. Paths entered in the
TUI do not expand ~ or environment variables.
Cleanr reports a configuration parse error
Print the active default path:
cleanr config path
If you use a custom file, repeat the same --config option when diagnosing.
Look for unknown keys, misspelled enum values, duplicate IDs, or invalid TOML.
To compare with a fresh default without overwriting your file:
cleanr --config /tmp/cleanr-default.toml config init
The terminal display is unreadable
-
Make sure the terminal supports Unicode and color.
-
Cleanr uses portable ANSI colors by default. If colors still appear as solid red/green blocks, reset the terminal profile or try another terminal app.
-
If the background brightness is wrong, set an explicit theme:
cleanr config set ui.theme dark -
Resize very small terminal windows.
-
If Cleanr is interrupted, run
resetin the shell to restore terminal state.
Cleanup skips an item that was selected
Cleanr revalidates every target immediately before execution. The item is skipped if it changed after scanning, became a symbolic link, moved outside a scan root, or overlaps a protected path. Rescan and review the new state rather than forcing the old plan.
Restore fails
Common causes are:
- the system trash was emptied;
- the item was manually removed from trash;
- the original path now exists;
- trash metadata changed or is unavailable;
- programmatic restore is unsupported by the platform.
Cleanr does not overwrite the current path. Inspect the system trash manually and preserve Cleanr's state directory and manifests while investigating.
Disable the update check
Cleanr checks for a new release at most once every 24 hours. Disable the non-blocking startup check with:
cleanr --no-update-check
or:
export CLEANR_NO_UPDATE_CHECK=true
Get more help
If the problem is reproducible, open an issue on GitHub with:
- your Cleanr version (
cleanr --version); - operating system and terminal;
- installation method;
- the exact command or key sequence;
- the complete error message with secrets and personal paths removed.