Skip to main content
smolvm sandbox delete removes sandboxes and releases their stored resources. Use it for normal cleanup after a workflow, or with --all when you want to clear every sandbox on the host.

Synopsis

Arguments

sandbox...
string
One or more sandbox names or IDs to delete.

Options

--all
flag
Delete every sandbox on the host.
--force
flag
Skip the confirmation prompt for --all. Required for --all --json.
--dry-run
flag
Show what would be deleted without deleting anything.
--json
flag
Print a JSON envelope instead of formatted text.
smolvm sandbox delete --all --force deletes every sandbox on the host. Use --dry-run first when you are unsure.

Examples

Delete one sandbox

Delete several sandboxes

Preview full cleanup

Delete every sandbox

Use JSON in automation

What gets cleaned up

For each target, SmolVM stops the sandbox if needed, removes its runtime state, releases network resources, and deletes the per-sandbox disk state it owns.
Last modified on June 24, 2026