desktop/examples/basic-javascript at main · e2b-dev/desktop

Skip to content

Navigation Menu

Sign in

Appearance settings

Latest commit

Desktop Sandbox JavaScript Example

This is a basic example of how to use the Desktop Sandbox JavaScript SDK with streaming and moving mouse around inside an Electron app.

How to run

1. Create .env file

2. Set E2B_API_KEY in .env file

Get your API key at e2b.dev/dashboard.

E2B_API_KEY="your_api_key"

3. Install dependencies

4. Run