Mastra CLI

The mastra CLI scaffolds projects (`npm create mastra`), runs the local dev server with hot reload, opens the Studio playground, generates types, runs migrations on memory stores, deploys to Mastra Cloud, and runs evals. Installable as @mastra/cli.

Mastra CLI is one of 12 APIs that Mastra publishes on the APIs.io network.

Tagged areas include CLI and Developer Tools. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: mastra-ai:mastra-cli
name: Mastra CLI
description: The mastra CLI scaffolds projects (`npm create mastra`), runs the local dev server with hot
  reload, opens the Studio playground, generates types, runs migrations on memory stores, deploys to Mastra
  Cloud, and runs evals. Installable as @mastra/cli.
humanURL: https://mastra.ai/docs/cli/overview
tags:
- CLI
- Developer Tools
properties:
- type: Documentation
  url: https://mastra.ai/docs/cli/overview
- type: SourceCode
  url: https://github.com/mastra-ai/mastra/tree/main/packages/cli
- type: PackageManager
  url: https://www.npmjs.com/package/mastra