# Install moto with Homebrew

Mock AWS services. Version 5.2.2 via Homebrew; verified 2026-07-15.

## Install

```sh
sudo av install brew:moto
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install moto
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:moto
- **Package manager:** Homebrew
- **Version:** 5.2.2
- **Source summary:** Mock AWS services
- **Homepage:** <http://getmoto.org/>
- **Last updated:** 2026-07-15T12:02:26Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- moto_proxy (alias)
- moto_server (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 5.2.2
## Project history and usage

Moto began as Steve Pulec's Python library for mocking AWS services, with the project AUTHORS file naming Pulec as the original writer and a long contributor list behind the broader emulator. Its role is tightly coupled to the boto and boto3 ecosystem: tests wrap AWS-using code with Moto's mocks so that S3, DynamoDB, IAM, Lambda, and other service calls are handled locally instead of reaching a real AWS account.

### Project history

The project became a standard testing tool because it supports both in-process Python decorators/context managers and a stand-alone HTTP server mode. The server mode lets non-Python SDKs point at Moto's fake AWS endpoints, while the Python API fits normal unit-test and pytest workflows. Moto 5.0.0 marked a major API simplification by replacing service-specific decorators with a single `mock_aws` decorator and making one MotoServer instance the recommended server shape, a milestone aimed at simplifying usage and state management.

### How it is used

As a package-manager entry, Moto is more of a developer-test dependency than an end-user CLI, although Homebrew exposes `moto_server` and `moto_proxy` executables for local service emulation. Its closest neighbors are broader local cloud emulators and hand-written mocks, but Moto's niche is AWS-specific behavioral coverage that can be pulled directly into Python tests.

### Sources

- <https://docs.getmoto.org/>
- <https://docs.getmoto.org/en/latest/docs/getting_started.html>
- <https://formulae.brew.sh/formula/moto>
- <https://github.com/getmoto/moto/blob/master/AUTHORS.md>
- <https://github.com/getmoto/moto/issues/7198>
- <https://pypi.org/project/moto/>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Combined YAML source

View the package source record on GitHub. [combined/moto.yml](https://github.com/mxcl/pkgdb/blob/main/combined/moto.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
