Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix JS hello world guide

Vasek Mlejnskyd2cb61e93647
diff --git a/apps/docs/src/app/hello-world/js/page.mdx b/apps/docs/src/app/hello-world/js/page.mdx
index a91df1ee0..8f9f6f610 100644
--- a/apps/docs/src/app/hello-world/js/page.mdx
+++ b/apps/docs/src/app/hello-world/js/page.mdx
@@ -232,7 +232,7 @@ run()
After running your code with the following command
<CodeGroup isRunnable={false}>
```bash {{ language: 'bash' }}
-$ npm run start
+$ tsx index.ts
```
</CodeGroup>
@@ -251,7 +251,7 @@ We got our median in the logs (`stdout`, and `stderr`) but we also something int
## 6. Save generated chart
This looks like a plot. Let's save it to a file. Update the `run()` function like this,
-and run the code again with `npm run start` in your terminal.
+and run the code again with `tsx index.ts` in your terminal.
<CodeGroup isFileName title="index.ts" isRunnable={false}>
```ts {{ language: 'javscript' }}
async function run() {