<!-- @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`](https://github.com/jdx/mise/blob/main/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
