Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
@e2b/cli
2.22.3
Patch Changes
- a398b08:
e2b sandbox connect/createsend terminal input over a single persistent stream instead of one request per 10ms batch - Updated dependencies [3c4c7cf]
2.22.2
Patch Changes
- b8afc34: Bundle
@e2b/dockerfile-utilsfrom source so the CLI build no longer races with concurrent workspace package rebuilds during release
2.22.1
Patch Changes
- 999782e: Share the process kill implementation between commands and PTY, share the CLI
--languageoption parser betweentemplate initandtemplate migrate, and drop unused internal exports - Updated dependencies [a1ad326]
- Updated dependencies [9f4a9ef]
- Updated dependencies [999782e]
2.22.0
Minor Changes
6a74c39: Require Node.js 22.19.0 or newer and depend on
undici@^8only (undici 7 is dropped).- undici 8 respects the server's HTTP/2
SETTINGS_MAX_CONCURRENT_STREAMSand opens more connections when one is saturated. - Breaking: the SDK-level in-flight request cap is removed, along with the
E2B_API_INFLIGHT_REQUESTS,E2B_ENVD_INFLIGHT_REQUESTSandE2B_ENVD_RPC_INFLIGHT_REQUESTSenv vars. Concurrency is governed by undici's connection pools (E2B_API_CONNECTIONS,E2B_ENVD_RPC_CONNECTIONS).
- undici 8 respects the server's HTTP/2
73a784d: Require Node.js 22 or newer (Node.js 20 is no longer supported).
Patch Changes
- Updated dependencies [6a74c39]
- Updated dependencies [73a784d]
2.21.2
Patch Changes
- 001406c: Bump
handlebarsto 4.7.10 to fix CVE-2026-106446 and CVE-2026-106445 (critical) and CVE-2026-106444 (moderate). - Updated dependencies [b52cd30]
- Updated dependencies [0894595]
2.21.1
Patch Changes
- 4813482: Bump dependency floors:
undici^7.29.1 → ^7.30.0and optionalundici88.10.2 → 8.11.2(backported HTTP/2 WebSocket, decompression backpressure and aborted-request fixes),compare-versions^6.1.0 → ^6.1.1ine2b, andinquirer^12.10.0 → ^12.11.1in@e2b/cli. - Updated dependencies [cc29617]
- Updated dependencies [3ba1d05]
- Updated dependencies [4813482]
- Updated dependencies [d0ed5c1]
2.21.0
Minor Changes
- 2de0cc3: Cap sandbox fork count at 20.
e2b sandbox fork --count, JavaScriptSandbox.fork({ count }), and PythonSandbox.fork(count=...)reject a count outside 1–20 before the API call. Counts from 21 through 100 used to reach the API. Omitting count still leaves the field off the request so the API default applies.
Patch Changes
- 8c7e5cb: Update the protobuf and OpenAPI clients, terminal styling, and interactive prompts to compatible minor releases.
- Updated dependencies [2de0cc3]
- Updated dependencies [03887ad]
- Updated dependencies [2f92cc3]
- Updated dependencies [8c7e5cb]
- Updated dependencies [97522f8]
- Updated dependencies [8c7e5cb]
- Updated dependencies [4975149]
2.20.0
Minor Changes
- 6a608ef: Add
e2b sandbox forkcommand to fork a running sandbox into one or more new sandboxes
2.19.1
Patch Changes
- 5b015ad: Removed the hidden
e2b template buildcommand (aliasbd). It printed a V1 deprecation notice and exited 1; the V1 build system it fronted is gone from the API. A script still calling it now gets commander's unknown-command error with the same exit code. Build templates withe2b template createor the Template SDK;e2b template migratestill converts a V1 project (see https://e2b.dev/docs/template/migration-v2). - Updated dependencies [956e3ab]
- Updated dependencies [e1fbe86]
- Updated dependencies [80496c0]
- Updated dependencies [5b015ad]
- Updated dependencies [80496c0]
- Updated dependencies [e1fbe86]
2.19.0
Minor Changes
- f842aa8: Expose a configurable minimum free-disk target with
minFreeDiskMbin JavaScript,min_free_disk_mbin Python, and--min-free-disk-mbintemplate create. Omission uses the team default, while explicit zero requests no minimum growth. Growth is best effort and never shrinks an existing filesystem.
Patch Changes
- Updated dependencies [f842aa8]
2.18.2
Patch Changes
- b8b4323: Skip the update check when the
NO_UPDATE_NOTIFIERenvironment variable is set, so system package managers (for example Nix) can install the CLI without it suggesting updates they cannot apply. Help output now always names the programe2binstead of echoing the entrypoint file name. - Updated dependencies [08efa36]
- Updated dependencies [6b759bf]
- Updated dependencies [58c81f1]
2.18.1
Patch Changes
- 3289fdc: Remove unused CLI formatting helpers and de-duplicate internal constants
- Updated dependencies [cd921aa]
- Updated dependencies [1980d6b]
- Updated dependencies [043d050]
- Updated dependencies [3289fdc]
2.18.0
Minor Changes
- 3b599b8: Stop reading
e2b.tomlinsandbox create,template deleteandtemplate publish/unpublish, and remove their--configand--pathoptions. Templates must now be passed as an argument or picked interactively with-s.template migrateis unchanged and remains the only command that readse2b.toml.
Patch Changes
- 587c15f: Pass flags following the command in
e2b sandbox execto the remote command instead of parsing them as CLI options - 8943d6f: Update runtime dependencies:
tar7.5.22 and@bufbuild/protobuf2.14.0 in the JS SDK,statuses2.0.2,async-listen3.1.0 andyup1.7.1 in the CLI. No behavior change. - 3202fad:
e2b sandbox create --detachnow prints only the sandbox ID to stdout; the dashboard inspect link and other informational output go to stderr so the ID is easily parseable (e.g.SBX=$(e2b sandbox create -d)). - 182b498: Point the README documentation links at
docs.e2b.devinstead ofe2b.dev/docs. The docs site moved to its own subdomain and has no/docspath prefix there, soe2b.dev/docsserves a 308 todocs.e2b.dev/ande2b.dev/docs/code-interpretingmaps todocs.e2b.dev/code-interpreting. The UTM parameters are unchanged and survived the redirect, so this removes a redirect hop rather than fixing broken attribution. - Updated dependencies [67c06e0]
- Updated dependencies [8943d6f]
- Updated dependencies [182b498]
- Updated dependencies [b802997]
- Updated dependencies [9d1c90d]
2.17.1
Patch Changes
- f69a9c0:
e2b sandbox list --format jsonnow applies the same start-time sorting as the pretty table output (ascending by default, respecting--order). - bc14dd0: Render CLI tables in kubectl style: uppercase headers, space-aligned columns, no borders or titles
2.17.0
Minor Changes
- b53deac: Add
e2b sandbox snapshotcommands:create <sandboxID>(with optional--name) to create a snapshot from a sandbox,list [sandboxID](with optional--namefilter and--format json) to list snapshots, anddelete <snapshotIDs...>to delete snapshots. - 8787dfe: Add sorting and new filters to
Sandbox.list. Theorderoption ('asc'/'desc', default'desc') sorts sandboxes by start time across the whole paginated dataset, and the query now supportsstartedAfter/started_after(inclusive lower bound on start time) andtemplate(exact template ID or alias) filters, all applied server-side before pagination. The CLIe2b sandbox listcommand exposes these via--order,--started-after, and--template.
Patch Changes
- Updated dependencies [8787dfe]
2.16.3
Patch Changes
- 2daced6: Tag the package homepage and README links with UTM parameters (
utm_source=npm/pypi) so registry traffic to e2b.dev is attributed correctly. No functional change. - Updated dependencies [15bd48b]
- Updated dependencies [5367693]
- Updated dependencies [7af41e9]
- Updated dependencies [2daced6]
2.16.2
Patch Changes
- 65cd85d: Remove the
E2B_ACCESS_TOKENauth path. Authentication moved to Hydra OAuth, so the CLI no longer reads an access token — from the environment or from~/.e2b/config.json— to authorize API requests. The API key alone scopes every endpoint the CLI calls, ande2b auth login/e2b auth configurebuild their own clients with Hydra JWTs. - Updated dependencies [6248b12]
2.16.1
Patch Changes
- 9e3e52b: Add
--user,--cwd, and--envflags toe2b sandbox create(and the deprecatedspawnalias) ande2b sandbox connect. These are forwarded to the underlying PTY session so the connected terminal starts as the given user, in the given working directory, and with the given environment variables.--envaccepts repeatableKEY=VALUEpairs. - 2c061eb: Point the
--projectflag help at the dashboard's?tab=generalentrypoint (was?tab=team) - 05b7a79: Depend on
e2bthrough pnpm'sworkspace:^protocol instead of a registry range.pnpm publishrewrites it to the same concrete^<version>it had before, so the published package is unchanged — but the lockfile no longer has to be re-resolved against the tarballs a release uploads, which is what forced the release tags onto the commit before their own version bump. - Updated dependencies [6733f36]
- Updated dependencies [1ebe925]
- Updated dependencies [1504fbc]
- Updated dependencies [ee0ad25]