UNPKG

create-mastra

Version:

Create Mastra apps with one command

33 lines (20 loc) 973 B
# create-mastra Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack. It includes everything you need to go from early prototypes to production-ready applications. Mastra integrates with frontend and backend frameworks like React, Next.js, and Node, or you can deploy it anywhere as a standalone server. It's the easiest way to build, tune, and scale reliable AI products. `create-mastra` is the **recommended** way to get started with Mastra. This CLI tool enables you to quickly start building a new Mastra application, with everything set up for you. ## Usage > [!IMPORTANT] > Make sure that you have Node.js 20 or later installed on your system. Using npm: ```bash npx create-mastra@latest ``` Using yarn: ```bash yarn dlx create-mastra@latest ``` Using pnpm: ```bash pnpm create mastra ``` Learn more about `create-mastra` in the [CLI reference documentation](https://mastra.ai/reference/cli/create-mastra).