This CLI tool allows you to build manager your running E2B sandbox and sandbox templates. Learn more in our documentation.
npm install -g @e2b/clie2b auth loginNote
To authenticate without the ability to open the browser, provide
E2B_ACCESS_TOKEN as an environment variable. Get your E2B_ACCESS_TOKEN
from the Personal tab at e2b.dev/dashboard. Then use the CLI like this:
E2B_ACCESS_TOKEN=sk_e2b_... e2b build.
Important
Note the distinction between E2B_ACCESS_TOKEN and E2B_API_KEY.
Visit our CLI documentation to learn more.
