There was an error while loading. Please reload this page.
2 parents 3d090ef + 1b4f8de commit ec7ccefCopy full SHA for ec7ccef
1 file changed
content/manuals/ai/sandboxes/usage.md
@@ -48,6 +48,17 @@ $ sbx rm my-sandbox
48
$ sbx run claude
49
```
50
51
+To remove all stopped local sandboxes, use `sbx prune`. Running sandboxes are
52
+never removed. Preview the sandboxes that would be removed, or filter out
53
+sandboxes stopped within the last week:
54
+
55
+```console
56
+$ sbx prune --dry-run
57
+$ sbx prune --filter since=168h
58
+```
59
60
+Run `sbx prune` without flags to confirm and remove all stopped sandboxes.
61
62
## Reconnect and name sandboxes
63
64
Sandboxes persist after the agent exits. Running the same workspace path again
0 commit comments