Skip to content

mise daemons prune

  • Usage: mise daemons prune [-n --dry-run]
  • Effect: destructive — may delete or irreversibly overwrite
  • Source code: src/cli/daemons.rs

Remove daemon state left behind by deleted project directories.

Scan $MISE_STATE_DIR/daemons/ for state belonging to deleted projects, including removed Git worktrees. Stop their daemons, unregister their configuration, and delete their state and data. Existing projects are preserved.

Use --dry-run to preview the paths and sizes. Removal is irreversible and requires confirmation. Pass the global --yes flag for non-interactive cleanup; entries that may belong to an unmounted volume or a deleted symlink are skipped with --yes and require 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
MIT LicenseCopyright © 2026jdx.dev