Skip to content

pitchfork clean

  • Usage: pitchfork clean [--daemon <ID>] [--prune] [NAMESPACE]…
  • Aliases: c
  • Effect: modifies state

Removes stopped/failed daemons from pitchfork list

Cleans up the daemon list by removing entries for daemons that are no longer running. Does not affect running daemons or their configurations.

Use this to clear out old entries after stopping daemons manually or after daemons have failed.

Examples:

pitchfork clean                 Remove all stopped/failed entries
pitchfork clean my-worktree     Remove entries in one namespace
pitchfork clean --daemon api    Remove the local namespace's api entry
pitchfork clean --prune         Remove entries whose directories disappeared
pitchfork c                     Alias for 'clean'

Arguments

  • [NAMESPACE]… — Only clean daemon registrations in these namespaces

Flags

  • --daemon <ID> — Only clean these daemons (repeatable; bare names use the current namespace)
  • --prune — Only clean registrations whose working directories no longer exist
  • -h --help — Print help
MIT LicenseCopyright © 2026jdx.dev