# 使用 Homebrew 安装 mx

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

## 安装

```sh
sudo av install brew:mx
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mx
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mx
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mx>
- **版本:** 7.85.0
- **来源摘要:** Command-line tool used for the development of Graal projects
- **主页:** <https://github.com/graalvm/mx>
- **仓库:** <https://github.com/graalvm/mx>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/graalvm/mx/archive/refs/tags/7.85.0.tar.gz>
- **最后更新:** 2026-08-03T16:39:17Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mx (cli)
- mx (别名)

## 依赖

- python@3.14

## 构建依赖

- openjdk

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

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

mx is the Python-based command-line tool used to develop Graal projects. The graalvm/mx README describes it as a tool for managing primarily Java code: defining dependencies, building, testing, running, updating, and packaging artifacts, including code spread across multiple source repositories.

### 项目历史

Its central abstraction is the suite. A suite is both a source tree and the container for libraries, projects, distributions, metadata, and imports of other suites. That model fits the GraalVM ecosystem, where compiler, Truffle, language, and VM components need coordinated builds across related repositories. Oracle's GraalVM build instructions use mx for building GraalVM from source, including the VM suite that assembles the GraalVM SDK, Graal JIT compiler, SubstrateVM, and Truffle framework.

### 使用方式

In package-manager terms, mx is not a general Java build tool competing with Maven or Gradle for application projects. It is a specialist developer tool for the GraalVM codebase and projects that adopt Graal's suite metadata format, useful when a repository needs mx commands, suite.py metadata, and the surrounding Graal build conventions.

### 来源

- <https://github.com/graalvm/mx>
- <https://github.com/oracle/graal/blob/master/vm/README.md>
- <https://raw.githubusercontent.com/graalvm/mx/master/README.md>


## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mx
- **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/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.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [openjdk](https://pkg.so/zh-hans/brew/openjdk/) - Build dependency declared by Homebrew.
- [cabal-install](https://pkg.so/zh-hans/brew/cabal-install/) - Shares pkgdb curated category or tags: build-tool, cli, developer-tools.
- [maven](https://pkg.so/zh-hans/brew/maven/) - Shares pkgdb curated category or tags: build-tool, cli, developer-tools, java.
- [ant](https://pkg.so/zh-hans/brew/ant/) - Shares pkgdb curated category or tags: build-tool, cli, developer-tools, java.
- [mill](https://pkg.so/zh-hans/brew/mill/) - Shares pkgdb curated category or tags: build-tool, cli, developer-tools, java.
- [helidon](https://pkg.so/zh-hans/brew/helidon/) - Shares pkgdb curated category or tags: cli, developer-tools, development-tool, java.
- [maven-shell](https://pkg.so/zh-hans/brew/maven-shell/) - Shares pkgdb curated category or tags: build-tool, cli, developer-tools, java.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Shares pkgdb curated category or tags: build-tool, cli, developer-tools.
- [just](https://pkg.so/zh-hans/brew/just/) - Shares pkgdb curated category or tags: build-tool, cli, developer-tools.
- [fobis](https://pkg.so/zh-hans/brew/fobis/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tool, cli, developer, developer-tools.
- [eg-examples](https://pkg.so/zh-hans/brew/eg-examples/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, line.
- [euler-py](https://pkg.so/zh-hans/brew/euler-py/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, line.

## Combined YAML source

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