# Install mastra with npm

cli for mastra. Version 1.20.1 via npm; verified 2026-07-23.

## Install

```sh
sudo av install npm:mastra
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g mastra
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:mastra
- **Package manager:** npm
- **Version:** 1.20.1
- **Source summary:** cli for mastra
- **Homepage:** <https://mastra.ai>
- **Last updated:** 2026-07-23T10:03:09.717Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mastra (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.20.1

## Security Notes

No matching local secret-handling manifest was found for mastra. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Sources

- pkg.so package database
- pkgdb category and tag curation
- cross-ecosystem install command graph
