Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Add CLI example for custom CPU and RAM

Vasek Mlejnskyad86eb91428f
diff --git a/apps/docs/src/app/pricing/page.mdx b/apps/docs/src/app/pricing/page.mdx
index a8fa9e19a..b1f2e4d5d 100644
--- a/apps/docs/src/app/pricing/page.mdx
+++ b/apps/docs/src/app/pricing/page.mdx
@@ -57,6 +57,11 @@ Pro customers can customize the sandbox with **any combination** of the CPU and
<Note>
To customize your sandbox compute, you need to build your custom sandbox template using the [E2B CLI](/cli/installation).
Run [`e2b template build`](/cli/commands#template-build) and specify the `--cpu-count` and `--memory-mb` options.
+
+For example this custom build gives your sandbox 8 vCPU and 4GiB of RAM
+```sh
+e2b template build --cput-count 8 --memory-mb 4096
+```
</Note>
<SandboxSpec/>
diff --git a/apps/docs/src/app/sandbox/compute/page.mdx b/apps/docs/src/app/sandbox/compute/page.mdx
index 872b285b3..cbe39c306 100644
--- a/apps/docs/src/app/sandbox/compute/page.mdx
+++ b/apps/docs/src/app/sandbox/compute/page.mdx
@@ -8,6 +8,11 @@ Read a dedicated page to [learn more about pricing](/pricing).
<Note>
To customize your sandbox compute, you need to build your custom sandbox template using the [E2B CLI](/cli/installation).
Run [`e2b template build`](/cli/commands#template-build) and specify the `--cpu-count` and `--memory-mb` options.
+
+For example this custom build gives your sandbox 8 vCPU and 4GiB of RAM
+```sh
+e2b template build --cput-count 8 --memory-mb 4096
+```
</Note>
<SandboxSpec/>