Skip to content

mise cache prune ​

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

Remove cache files that have not been accessed recently

Removes cache files not accessed within the cache_prune_age setting. Set it to 0s to keep cache files indefinitely. mise also prunes the cache now and then on its own.

Arguments ​

  • [TOOL]… — Only prune the cache of these tools, such as node

Flags ​

  • -v --verbose — Show pruned files
  • --dry-run — Show what would be pruned without deleting anything
  • -h --help — Print help

Examples ​

List what would be removed

mise cache prune --dry-run
MIT LicenseCopyright © 2026jdx.dev