Back to Mise

`mise cache prune`

docs/cli/cache/prune.md

2026.8.12702 B
Original Source
<!-- @generated by usage-cli from usage spec -->

mise cache prune

  • Usage: mise cache prune [-v --verbose…] [--dry-run] [TOOL]…
  • Aliases: p
  • Effect: modifies state
  • Source code: src/cli/cache/prune.rs

Removes stale mise cache files

By default, this command will remove files that have not been accessed in 30 days. Change this with the MISE_CACHE_PRUNE_AGE environment variable.

Arguments

  • [TOOL]… — Tool(s) to prune cache for e.g.: node, python

Flags

  • -v --verbose… — Show pruned files
  • --dry-run — Just show what would be pruned
  • -h --help — Print help