# moco を Homebrew でインストール

moco のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:moco
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install moco
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:moco
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/moco>
- **バージョン:** 1.6.1
- **ソース概要:** Stub server with Maven, Gradle, Scala, and shell integration
- **ホームページ:** <https://github.com/dreamhead/moco>
- **リポジトリ:** <https://github.com/dreamhead/moco>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://search.maven.org/remotecontent?filepath=com/github/dreamhead/moco-runner/1.6.1/moco-runner-1.6.1-standalone.jar>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- moco (cli)
- moco (エイリアス)

## 依存関係

- openjdk

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.6.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/dreamhead/moco
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

Moco is a Java stub-server and mocking framework from ZHENG Ye's dreamhead/moco project, with copyright dates in the upstream README beginning in 2012. The project was built around a small alternative to deploying temporary WAR files or embedded application servers for HTTP integration testing: write a JSON response description, run the standalone runner, and point tests or clients at the local stub endpoint.

### プロジェクトの歴史

Its ecosystem role is deliberately practical. Moco can be embedded as a Java API in JUnit tests, run as a standalone server, or reached through Maven, Gradle, shell, and Scala integrations. The documentation covers HTTP, HTTPS, socket, REST, WebSocket, and SSE APIs, which places it in the Java testing niche alongside mock HTTP servers and service-virtualization tools rather than full API gateways.

### 使われ方

The Homebrew formula exposes the `moco` executable for command-line use, while the upstream project also publishes Maven artifacts such as `moco-core` and the standalone runner. The 2.0.0 line moved the project to Java 17 or later, marking a runtime baseline change for a tool that had long been used in build and integration-test workflows.

### ソース

- <https://formulae.brew.sh/formula/moco>
- <https://github.com/dreamhead/moco>
- <https://raw.githubusercontent.com/dreamhead/moco/master/README.md>
- <https://raw.githubusercontent.com/dreamhead/moco/master/moco-doc/usage.md>


## セキュリティノート

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** moco
- **Version Scheme:** 0
- **Revision:** 0
- **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/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openjdk](https://pkg.so/ja/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [mockserver](https://pkg.so/ja/brew/mockserver/) - Shares pkgdb curated category or tags: api, cli, developer-tools, http, testing.
- [prism-cli](https://pkg.so/ja/brew/prism-cli/) - Shares pkgdb curated category or tags: api, cli, developer-tools, testing.
- [byteman](https://pkg.so/ja/brew/byteman/) - Shares pkgdb curated category or tags: cli, developer-tools, java, testing.
- [gor](https://pkg.so/ja/brew/gor/) - Shares pkgdb curated category or tags: cli, developer-tools, http, testing.
- [lcov](https://pkg.so/ja/brew/lcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [bats-core](https://pkg.so/ja/brew/bats-core/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [allure](https://pkg.so/ja/brew/allure/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [kcov](https://pkg.so/ja/brew/kcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [sqlancer](https://pkg.so/ja/brew/sqlancer/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, java, openjdk.
- [apib](https://pkg.so/ja/brew/apib/) - Local package facts share a topical domain. Shared terms: api, cli, developer, developer-tools, http.
- [beakerlib](https://pkg.so/ja/brew/beakerlib/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, integration, shell.

## Combined YAML source

View the package source record on GitHub. [combined/moco.yml](https://github.com/mxcl/pkgdb/blob/main/combined/moco.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
