mise daemons prune
- Usage:
mise daemons prune [-n --dry-run] - Effect: destructive — may delete or irreversibly overwrite
- Source code:
src/cli/daemons.rs
[experimental] Remove daemon state left by deleted projects
Scans $MISE_STATE_DIR/daemons/ for state that belongs to deleted projects, including removed Git worktrees. For each one, stops its daemons, unregisters its configuration, and deletes its state and data. Existing projects are not touched.
Use --dry-run to preview the paths and sizes. Removal cannot be undone and asks for confirmation. Pass the global --yes flag to prune without a prompt; entries that may belong to an unmounted volume or a deleted symlink are then skipped and need a separate interactive confirmation.
pitchfork must be available. State is kept when mise cannot confirm that the daemons have stopped or cannot unregister their configuration.
Flags
-n --dry-run— Show what would be removed without deleting anything-h --help— Print help
Examples
Preview what would be removed
mise daemons prune --dry-runReview the list and confirm removal
mise daemons prune