Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix wrong command in docs

Vasek Mlejnsky30ca0512bf52
diff --git a/apps/web/src/app/(docs)/docs/legacy/guide/beta-migration/page.mdx b/apps/web/src/app/(docs)/docs/legacy/guide/beta-migration/page.mdx
index 2a1a75666..1d9a712d2 100644
--- a/apps/web/src/app/(docs)/docs/legacy/guide/beta-migration/page.mdx
+++ b/apps/web/src/app/(docs)/docs/legacy/guide/beta-migration/page.mdx
@@ -26,10 +26,10 @@ The latest beta versions you should install can be found in NPM/PyPi release his
- [Timeouts](#timeouts)
- [Listing sandboxes](#listing-sandboxes)
- [Getting sandbox url](#getting-sandbox-url)
- - [Code Interpreter SDK changes](#code-interpreter-sdk-changes)
+ - [Code Interpreter SDK changes](#code-interpreter-sdk-changes)
- [Executing code](#executing-code)
- [Custom template](#custom-template)
- - [Python Async](#python-async)
+ - [Python Async](#python-async)
- [Watching for files' changes in async Python SDK](#watching-for-files-changes-in-async-python-sdk)
- [Running background commands in async Python SDK](#running-background-commands-in-async-python-sdk)
@@ -176,7 +176,7 @@ The method accepts `path` in the sandbox as the first argument and the `data` as
import Sandbox from 'e2b'
// Before
-// await sandbox.filesystem.write('/hello.txt', 'Hello World!')
+// await sandbox.filesystem.write('/hello.txt', 'Hello World!')
// Now
await sandbox.files.write('/path/in/sandbox', 'Hello World!')
@@ -185,7 +185,7 @@ await sandbox.files.write('/path/in/sandbox', 'Hello World!')
from e2b import Sandbox
# Before
-# sandbox.filesystem.write("/hello.txt", "Hello World!")
+# sandbox.filesystem.write("/hello.txt", "Hello World!")
# Now
sandbox.files.write("/path/in/sandbox", "Hello World!")
diff --git a/apps/web/src/app/(docs)/docs/quickstart/install-custom-packages/page.mdx b/apps/web/src/app/(docs)/docs/quickstart/install-custom-packages/page.mdx
index d7aa39341..3b827ce92 100644
--- a/apps/web/src/app/(docs)/docs/quickstart/install-custom-packages/page.mdx
+++ b/apps/web/src/app/(docs)/docs/quickstart/install-custom-packages/page.mdx
@@ -39,7 +39,7 @@ e2b auth login
### 2. Initialize a sandbox template
<CodeGroup isTerminalCommand>
```bash
-e2b sandbox template init
+e2b template init
```
</CodeGroup>
@@ -63,7 +63,7 @@ RUN npm install cowsay
Run the following command to build the sandbox template.
<CodeGroup isTerminalCommand>
```bash
-e2b sandbox template build -c "/root/.jupyter/start-up.sh"
+e2b template build -c "/root/.jupyter/start-up.sh"
```
</CodeGroup>