Skip to main content

lium rm

Remove / stop pods.

lium rm [TARGETS] [OPTIONS]

Arguments​

  • TARGETS — Pod name, index, comma-separated list, or all.

Options​

FlagEffect
--all, -aRemove all active pods
--yes, -ySkip the confirmation prompt on --all
--in DURATIONSchedule removal after a duration (e.g. 6h, 45m, 2d)
--at TIMESchedule removal at a local time (e.g. "tomorrow 09:00")

Removal is irreversible. The command exits non-zero when nothing matched TARGETS, so a typo cannot look like a successful teardown. --all on an account with no pods is the opposite case: a no-op that exits 0.

Only lium rm --all asks for confirmation, and only on a terminal — that is the one place --yes changes anything. Removing a named pod, an index or a list never prompts, with or without -y.

Examples​

lium rm my-pod                  # Remove a single pod
lium rm 1,2,3 # Remove several
lium rm all # Remove every active pod (positional)
lium rm --all # Same, via the flag
lium rm --all -y # Remove everything without the confirmation
lium rm my-pod --in 6h # Schedule removal in 6 hours
lium rm my-pod --at "tomorrow 09:00"

See also​

  • lium schedules — view / cancel scheduled removals (created via lium up --ttl)
  • lium volumes — manage detached volumes