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
Sign in
Dashboard
e2b-dev/e2b
E2B Docs home page
Search...
⌘K
Sign in
Dashboard
e2b-dev/e2b
e2b-dev/e2b
Search...
Navigation
CLI
E2B CLI
CLI
E2B CLI
E2B CLI is a command line tool that allows you to list, kill running sandboxes, and manage
sandbox templates
.
Installation
Using Homebrew (on macOS)
Terminal
Copy
Ask AI
brew
install
e2b
Using NPM
You can install E2B CLI using the following command:
Terminal
Copy
Ask AI
npm
i
-g
@e2b/cli
Beta CLI
The latest beta version of the CLI can be installed from NPM using the following command:
Terminal
Copy
Ask AI
npm
i
-g
@e2b/cli@beta
Previous
Authentication
Next
⌘I
On this page
Installation
Beta CLI
Assistant
Responses are generated using AI and may contain mistakes.