Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add docs for CLI command listing running sandboxes; Fix typo in connect docs

Tomas Valenta786856fc64a5
diff --git a/apps/docs/src/app/cli/commands/page.mdx b/apps/docs/src/app/cli/commands/page.mdx
index fdd332f39..3ba2c11f5 100644
--- a/apps/docs/src/app/cli/commands/page.mdx
+++ b/apps/docs/src/app/cli/commands/page.mdx
@@ -172,6 +172,16 @@ Running `e2b shell` without specifying a template with the `[template]` argument
---
+## `sandboxes`
+
+List your spawned sandboxes that are running right now.
+
+```bash
+e2b sandboxes
+```
+
+---
+
## `connect`
Connects your terminal to a running sandbox that you spawned via the E2B SDK.
@@ -183,7 +193,7 @@ e2b connect <sandboxID>
```
<Note>
-You can use `e2b list` to get a list of running sandboxes and their IDs that can be used with `e2b connect <sandboxID>` command.
+You can use `e2b sandboxes` to get a list of running sandboxes and their IDs that can be used with `e2b connect <sandboxID>` command.
</Note>
#### **Arguments**