Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Document fresh E2B CLI install (#1405)

Matt Brockman8747e53caa56
diff --git a/skills/stripe-projects/SKILL.md b/skills/stripe-projects/SKILL.md
index a065e73a6..a0b12f867 100644
--- a/skills/stripe-projects/SKILL.md
+++ b/skills/stripe-projects/SKILL.md
@@ -59,12 +59,16 @@ Use `stripe projects env --json` for structure checks only. In current Stripe Pr
## E2B CLI
-Install the E2B CLI with npm:
+If the E2B CLI is missing or a shell shim is broken, install it with Node instead of switching to SDK code:
```bash
-npm install -g @e2b/cli
+if ! e2b --version >/dev/null 2>&1; then
+ npm install -g @e2b/cli
+fi
```
+The CLI package requires Node 20 or newer.
+
Prefer detached sandboxes for non-interactive work so the command returns a sandbox ID and does not attach an interactive terminal:
```bash