|
History
|
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| .prettierignore | ||
| CHANGELOG.md | ||
| lint-staged.config.js | ||
| oxlint.config.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| turbo.json | ||
| vitest.config.ts | ||
create-mastra
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
create-mastra is the recommended way to start a new Mastra application. It runs as a one-time project generator, so you do not need to install it before use.
Installation
Important
Make sure that you have Node.js 22.13.0 or later installed on your system.
Run the latest version directly with your package manager.
Using npm:
npx create-mastra@latest
Using Yarn:
yarn dlx create-mastra@latest
Using pnpm:
pnpm create mastra@latest
Usage
The interactive setup asks where to create the project and helps configure the initial Mastra directory, example agents, model provider, and optional development tools. Pass --help to see non-interactive options:
npx create-mastra@latest --help
Documentation
Changelog
See the package changelog for version history and release notes.
Support
We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.