# 使用 Homebrew 安装 mockolo

查看 mockolo 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mockolo
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mockolo
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mockolo>
- **版本:** 2.6.1
- **来源摘要:** Efficient Mock Generator for Swift
- **主页:** <https://github.com/uber/mockolo>
- **仓库:** <https://github.com/uber/mockolo>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/uber/mockolo/archive/refs/tags/2.6.1.tar.gz>
- **最后更新:** 2026-05-08T02:42:38Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mockolo (cli)
- mockolo (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.6.1
- 管理器更新时间: 2026-05-08
- 本地数据: OK
- 上游仓库: https://github.com/uber/mockolo
- 检测到的最新版本: 2.6.1 (当前)
## 项目历史与用法

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.

### 项目历史

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.

### 使用方式

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.

### 来源

- <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>


## 安全说明

没有找到 mockolo 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [mockery](https://pkg.so/zh-hans/brew/mockery/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, mocking, testing.
- [counterfeiter](https://pkg.so/zh-hans/brew/counterfeiter/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, testing.
- [sourcery](https://pkg.so/zh-hans/brew/sourcery/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, swift.
- [rswift](https://pkg.so/zh-hans/brew/rswift/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, swift.
- [mogenerator](https://pkg.so/zh-hans/brew/mogenerator/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, swift.
- [moto](https://pkg.so/zh-hans/brew/moto/) - Shares pkgdb curated category or tags: cli, developer-tools, mocking, testing.
- [create-api](https://pkg.so/zh-hans/brew/create-api/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, swift.
- [configen](https://pkg.so/zh-hans/brew/configen/) - Shares pkgdb 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/mxcl/pkgdb/blob/main/combined/mockolo.yml)


## 来源

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