Share feedback
Answers are generated based on the documentation.

sbx rm

DescriptionRemove one or more sandboxes
Usagesbx rm [SANDBOX...] [flags]

Description

Remove one or more sandboxes and all associated resources.

Stops running sandboxes, removes their containers, cleans up any Git worktrees, and deletes sandbox state. This action cannot be undone.

Removal requires confirmation; use --force to skip confirmation prompts (for non-interactive scripts) and to delete a sandbox that is in use (e.g. an open SSH connection). Use --all to remove every sandbox.

Options

OptionDefaultDescription
--allRemove all sandboxes
-f, --forceSkip confirmation prompts and delete even if in use (e.g. an open SSH connection)

Global options

OptionDefaultDescription
-D, --debugEnable debug logging