407f330de9
Adds publish/unpublish commands to the CLI to allow changing the visibility of templates. Publishing a template makes it visible to other teams using E2B, while setting it private (default) only makes it visible within your own team. example usage: ``` e2b template publish <template> ``` ``` e2b template unpublish <template> ```
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
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. 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 between
E2B_ACCESS_TOKENandE2B_API_KEY.
3. Check out docs
Visit our CLI documentation to learn more.
