Skip to main content
E2B Docs home page
Search...
⌘K
Documentation
SDK Reference
Getting Started
Home
Quickstart
API Key
Cookbook
Need help?
Code Interpreting
Analyze data with AI
Charts & visualizations
Streaming
Supported languages
Sandbox
Lifecycle
Lifecycle events API
Lifecycle events webhooks
Persistence
Metrics
Metadata
Environment variables
List sandboxes
Connect to running sandbox
Internet access
Connecting storage bucket
Rate limits
Templates
Sandbox customization
Start command
Ready command
Customize CPU & RAM
Filesystem
Overview
Read & write
File & directory metadata
Watch directory for changes
Upload data
Download data
Commands
Overview
Streaming
Run commands in background
CLI
Installation
Authentication
List sandboxes
Shutdown running sandboxes
Deployment
Bring Your Own Cloud
Migration
SDK v2 Migration Guide
Troubleshooting
SDKs
Templates
Dashboard
e2b-dev/e2b
E2B Docs home page
Search...
⌘K
Dashboard
e2b-dev/e2b
e2b-dev/e2b
Search...
Navigation
Installation
Installation
Copy page
Copy page
You are reading a legacy (pre v1.0) document.
You build and manage sandbox templates with our CLI.
The CLI is distributed as an
NPM package
.
Download CLI
You can install the CLI with following command:
Copy
Ask AI
npm
install
-g
@e2b/cli@latest
Login
You’ll need to login to your account to start using the CLI. You’ll be redirected to the browser after running the following command to finish the login.
Copy
Ask AI
e2b
auth
login
⌘I
On this page
Download CLI
Login
Assistant
Responses are generated using AI and may contain mistakes.