Skip to main content

Documentation Index

Fetch the complete documentation index at: https://e2b.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

You can connect an interactive terminal to an already running sandbox.
e2b sandbox connect <sandbox-id>
Unlike the create command, connect does not kill the sandbox when you disconnect. When you exit the terminal, only your terminal session is closed—the sandbox continues running. Once connected, you can inspect the sandbox filesystem and processes to debug or experiment, or use it as a dedicated environment for running agents instead of your local computer.