How to install mastra-ai/mastra. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
mastra-ai/mastra Installation Guide
How to install mastra-ai/mastra. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for mastra-ai/mastra. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i mastra-ai/mastraor
Install via npx
npx @hexmos/ipm i mastra-ai/mastraPrerequisites
Node.js
languageVersion: ^16.0.0
npm
package_managerVersion: >=8.0.0
Yarn
package_managerVersion: >=2.0.0
TypeScript
languageVersion: ^4.8.5
PostgreSQL
system_packageDocker
system_toolVersion: 23.0.0
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
CLI Installation (Recommended)
npm create mastra@latestPost Installation Steps
- Start the Mastra server using `npm start`.
- Migrate your database if necessary using the command `npx mastra:migrate`.
- Access the UI by navigating to [your-app-url] in your browser.
