跳转到内容

mise cache prune ​

  • 用法: mise cache prune [-v --verbose] [--dry-run] [TOOL]…
  • 别名: p
  • 效果: 修改状态
  • 源代码: 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

标志 ​

  • -v --verbose — 显示已清理的文件
  • --dry-run — 显示将要清理的内容,但不删除任何文件
  • -h --help — 打印帮助

Examples ​

List what would be removed

mise cache prune --dry-run

相关文档 ​