# Install mockolo with Homebrew

Efficient Mock Generator for Swift. Version 2.6.1 via Homebrew; verified 2026-05-08.

## Install

```sh
sudo av install brew:mockolo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mockolo
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:mockolo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mockolo>
- **Version:** 2.6.1
- **Source summary:** Efficient Mock Generator for Swift
- **Homepage:** <https://github.com/uber/mockolo>
- **Repository:** <https://github.com/uber/mockolo>
- **Upstream docs:** <https://github.com/uber/mockolo#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/uber/mockolo/archive/refs/tags/2.6.1.tar.gz>
- **Last updated:** 2026-05-08T02:42:38Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mockolo (cli)
- mockolo (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.6.1
- Package-manager updated: 2026-05-08
- Local data: ok
- Upstream repository: https://github.com/uber/mockolo
- Upstream latest detected: 2.6.1 (current)
## Project history and usage

Mockolo is a Swift mock generator published under Uber's GitHub organization. The repository was created in 2018, and its README says the project exists because Swift lacks built-in mocking support; Mockolo generates mock objects that can be used in tests.

### Project history

The project's technical emphasis is speed on large Swift codebases. Its README contrasts Mockolo with slower third-party generators and describes a goal of producing mocks in seconds for codebases with millions of lines or thousands of protocols, using a lightweight command-line tool that can run in a build or linter workflow.

### How it is used

Mockolo's package niche is narrower than general Swift formatting or build tooling: it is a dedicated test-code generator for protocol-heavy Swift projects. Homebrew packages it as `mockolo`, while Swift package and CocoaPods ecosystem pages mirror the same positioning for teams that want generated mocks without adopting a heavier runtime mocking framework.

### Sources

- <https://api.github.com/repos/uber/mockolo>
- <https://cocoapods.org/pods/MockoloFramework>
- <https://formulae.brew.sh/formula/mockolo>
- <https://github.com/uber/mockolo>
- <https://swiftpackageregistry.com/uber/mockolo>


## Security Notes

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


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mockolo
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [mockery](https://www.automicvault.com/pkg/brew/mockery/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, mocking, testing.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, testing.
- [gotests](https://www.automicvault.com/pkg/brew/gotests/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, testing.
- [configen](https://www.automicvault.com/pkg/brew/configen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.
- [create-api](https://www.automicvault.com/pkg/brew/create-api/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.
- [hoverfly](https://www.automicvault.com/pkg/brew/hoverfly/) - Shares av.db curated category or tags: cli, developer-tools, mocking, testing.
- [ifacemaker](https://www.automicvault.com/pkg/brew/ifacemaker/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, testing.
- [mogenerator](https://www.automicvault.com/pkg/brew/mogenerator/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, swift.

## Combined YAML source

View the package source record on GitHub. [combined/mockolo.yml](https://github.com/automic-vault/db/blob/main/combined/mockolo.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
