0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/examples/README.md
Neil Daquioag b2bb3f6665
docs: fix onboarding quickstart, pnpm version, and template metadata (#23754)
Co-authored-by: Lennart <lekoarts@gmail.com>
2026-09-15 09:40:58 +02:00

586 B

How to run the examples

Navigate to the example directory you want to run. For example:

cd examples/agent

Install the packages:

pnpm install --ignore-workspace

The examples have a separate package.json file and are not part of the Mastra workspace. Most examples can use npm install. If an example links local workspace packages, use pnpm install --ignore-workspace from that example directory instead.

Run the appropriate CLI command in your terminal (may vary by example). For example for the agent example:

pnpm mastra:dev