8162a34cb7
<!-- CURSOR_SUMMARY --> > [!NOTE] > Upgrades CLI prompting deps (inquirer v12, @inquirer/prompts v7.9) and switches release scripts to use pnpm/pnpx changeset; lockfile updated accordingly. > > - **CLI**: > - Upgrade `inquirer` to `^12.10.0` and `@inquirer/prompts` to `^7.9.0` in `packages/cli/package.json`. > - **Tooling/Release Scripts**: > - Change root `package.json` scripts to use `pnpm changeset ...` and add `changeset` script via `pnpx @changesets/cli`. > - Remove direct root dependency on `@changesets/cli`. > - **Lockfile**: > - Refresh `pnpm-lock.yaml` to reflect dependency upgrades and removals. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 0596c189ae264d795de4168a2d2497121ae0d72d. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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 e2b
Using NPM
npm install -g @e2b/cli
2. Authenticate
e2b auth login
Note
To authenticate without the ability to open the browser, provide
E2B_ACCESS_TOKENas an environment variable. You can find your token in Account Settings under the Team selector at e2b.dev/dashboard. Then use the CLI like this:E2B_ACCESS_TOKEN=sk_e2b_... e2b template build.
Important
Note the distinction between
E2B_ACCESS_TOKENandE2B_API_KEY.
3. Check out docs
Visit our CLI documentation to learn more.
