Skip to content

Commit e69ad56

Browse files
Add Bun support and sticky package manager tabs (#698)
- Add Bun as a package manager option alongside npm, pnpm, yarn - Add storageKey to tabs so selection persists across the page Co-authored-by: Rachel Lee Nabors <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent 6fb6821 commit e69ad56

File tree

2 files changed

+38
-4
lines changed

2 files changed

+38
-4
lines changed

app/en/get-started/agent-frameworks/mastra/page.mdx

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Select your preferred model provider when prompted (we recommend OpenAI). Enter
6060

6161
Then navigate to the project directory and install the Arcade client:
6262

63-
<Tabs items={["npm", "pnpm", "yarn"]}>
63+
<Tabs items={["npm", "pnpm", "yarn", "bun"]} storageKey="package-manager">
6464

6565
<Tabs.Tab>
6666

@@ -89,6 +89,15 @@ yarn add @arcadeai/arcadejs @ai-sdk/openai zod@3
8989

9090
</Tabs.Tab>
9191

92+
<Tabs.Tab>
93+
94+
```bash
95+
cd arcade-agent
96+
bun add @arcadeai/arcadejs @ai-sdk/openai zod@3
97+
```
98+
99+
</Tabs.Tab>
100+
92101
</Tabs>
93102

94103
<Callout type="info">
@@ -311,7 +320,7 @@ export const mastra = new Mastra({
311320

312321
Start the development server:
313322

314-
<Tabs items={["npm", "pnpm", "yarn"]}>
323+
<Tabs items={["npm", "pnpm", "yarn", "bun"]} storageKey="package-manager">
315324

316325
<Tabs.Tab>
317326

@@ -337,6 +346,14 @@ yarn dev
337346

338347
</Tabs.Tab>
339348

349+
<Tabs.Tab>
350+
351+
```bash
352+
bun dev
353+
```
354+
355+
</Tabs.Tab>
356+
340357
</Tabs>
341358

342359
Open [http://localhost:4111](http://localhost:4111) to access Mastra Studio. Select **arcadeAgent** from the list and try prompts like:

app/en/get-started/agent-frameworks/vercelai/page.mdx

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Use the default settings for the project.
6161

6262
Install the required dependencies and [AI Elements](https://ai-sdk.dev/elements) (pre-built React components for chat interfaces):
6363

64-
<Tabs items={["npm", "pnpm", "yarn"]}>
64+
<Tabs items={["npm", "pnpm", "yarn", "bun"]} storageKey="package-manager">
6565

6666
<Tabs.Tab>
6767

@@ -90,6 +90,15 @@ yarn dlx ai-elements@latest
9090

9191
</Tabs.Tab>
9292

93+
<Tabs.Tab>
94+
95+
```bash
96+
bun add ai @ai-sdk/openai @ai-sdk/react @arcadeai/arcadejs zod
97+
bunx ai-elements@latest
98+
```
99+
100+
</Tabs.Tab>
101+
93102
</Tabs>
94103

95104
Follow the AI Elements prompts to complete the installation.
@@ -531,7 +540,7 @@ export default function Chat() {
531540

532541
### Run the chatbot
533542

534-
<Tabs items={["npm", "pnpm", "yarn"]}>
543+
<Tabs items={["npm", "pnpm", "yarn", "bun"]} storageKey="package-manager">
535544

536545
<Tabs.Tab>
537546

@@ -557,6 +566,14 @@ yarn dev
557566

558567
</Tabs.Tab>
559568

569+
<Tabs.Tab>
570+
571+
```bash
572+
bun dev
573+
```
574+
575+
</Tabs.Tab>
576+
560577
</Tabs>
561578

562579
Open [http://localhost:3000](http://localhost:3000) and try prompts like:

0 commit comments

Comments
 (0)