0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/packages/create-mastra
History 2026-11-12 21:12:29 +00:00
..
src feat(cli): tag platform logins with the CLI entry point (#27229) 2026-10-16 10:11:18 -07:00
.gitignore feat: improve create-mastra creation (#1345) 2025-01-14 23:25:19 +01:00
.prettierignore feat: improve create-mastra creation (#1345) 2025-01-14 23:25:19 +01:00
CHANGELOG.md chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
lint-staged.config.js refactor(lint): replace ESLint with type-aware oxlint (#27476) 2026-10-18 10:38:35 -07:00
oxlint.config.ts fix: reduce dependency footprint across core and integrations (#23998) 2026-09-16 11:38:54 +02:00
package.json chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
README.md chore: update package READMEs and add conditional CI validation (#23488) 2026-09-10 13:46:36 +02:00
tsconfig.json refactor(lint): replace ESLint with type-aware oxlint (#27476) 2026-10-18 10:38:35 -07:00
tsdown.config.ts fix(agent-controller): compact streamed message lifecycle (#22978) 2026-09-15 15:51:20 +02:00
turbo.json fix(create-mastra): Bundle deps (#23972) 2026-09-15 12:20:46 +02:00
vitest.config.ts feat(create-mastra)!: Improved project creation flow (#19825) 2026-07-22 10:51:19 +01:00

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.