Skip to Content
Installation

Last Updated: 3/7/2026


CLI Installation

The E2B CLI provides command-line tools for managing sandboxes and templates.

Installation

Using npm

npm install -g @e2b/cli

Authentication

Before using the CLI, you need to authenticate:

e2b auth login

Available Commands

Sandbox Management

# List running sandboxes e2b sandbox list # Create a sandbox e2b sandbox create # Connect to a sandbox e2b sandbox connect <sandbox-id>