Documentation home page
Search...
⌘K
Ask AI
Console
Back to Home
Back to Home
Search...
Navigation
CLI
Start sandbox and connect to terminal
Guides
API Reference
Changelog
Documentation
Discord Community
Dev Support
Get started
Introduction
Quickstart
Model APIs
Overview
LLM
Image, Audio and Video
Integration
Agent Sandbox
Overview
Quickstart
E2B Compatible
Sandbox
Template
Filesystem
Commands
CLI
E2B CLI
Authentication in CLI
Start sandbox and connect to terminal
List sandboxes
Shutdown running sandboxes
GPUs
Overview
GPU Instance
Serverless GPUs
Template Guide
Observability
LLM API Metrics
Resources
Payment Methods
Automatic Top-Up
Team
FAQ
CLI
Start sandbox and connect to terminal
With the following command, you can use the E2B command line tool to start a sandbox and connect to the terminal.
Bash
Copy
Ask AI
export
E2B_DOMAIN
=
sandbox
.
novita
.
ai
e2b
sandbox
spawn
<
template-i
d
>
Was this page helpful?
Yes
No
Authentication in CLI
List sandboxes
Assistant
Responses are generated using AI and may contain mistakes.