Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@e2b/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
E2B CLI
This CLI tool allows you to build manager your running E2B sandbox and sandbox templates. Learn more in our documentation.
1. Install the CLI
Using Homebrew (on macOS)
brew install e2bUsing NPM
npm install -g @e2b/cli2. Authenticate
e2b auth login[!NOTE] To authenticate without the ability to open the browser, provide
E2B_ACCESS_TOKENas an environment variable. Get yourE2B_ACCESS_TOKENfrom the Personal tab at e2b.dev/dashboard. Then use the CLI like this:E2B_ACCESS_TOKEN=sk_e2b_... e2b build.
[!IMPORTANT]
Note the distinction betweenE2B_ACCESS_TOKENandE2B_API_KEY.
3. Check out docs
Visit our CLI documentation to learn more.