# Install mlx

Array framework for Apple silicon. Version 0.31.2 via Homebrew; verified 2026-05-12.

## Install

```sh
sudo av install brew:mlx
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mlx
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mlx
```

  Evidence: MacPorts ports tree: llm/mlx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## Package Facts

- **Package key:** brew:mlx
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/mlx>
- **Version:** 0.31.2
- **Source summary:** Array framework for Apple silicon
- **Homepage:** <https://ml-explore.github.io/mlx/build/html/index.html>
- **Repository:** <https://github.com/ml-explore/mlx>
- **Upstream docs:** <https://ml-explore.github.io/mlx/build/html/index.html>
- **License:** MIT AND Apache-2.0
- **Source archive:** <https://github.com/ml-explore/mlx/archive/refs/tags/v0.31.2.tar.gz>
- **Last updated:** 2026-05-12T09:42:19+01:00
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- mlx.distributed_config (cli)
- mlx.launch (cli)
- mlx.distributed_config (alias)
- mlx.launch (alias)

## Dependencies

- python@3.14

## Build Dependencies

- cmake
- fmt
- nanobind
- nlohmann-json
- python-setuptools
- robin-map

## Install Behavior

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

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.31.2
- Package-manager updated: 2026-05-12
- Local data status: ok
- Upstream repository: https://github.com/ml-explore/mlx
- Upstream latest detected: v0.31.2 (current)

## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- MacPorts - mlx: normalized package name match | MacPorts ports tree: llm/mlx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/de/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/de/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [mlx-lm](https://www.automicvault.com/de/pkg/brew/mlx-lm/) - Popular package that depends on this formula.
- [llama.cpp](https://www.automicvault.com/de/pkg/brew/llama-cpp/) - Shares av.db curated category or tags: c-plus-plus, cli, developer-tools, machine-learning.
- [pytorch](https://www.automicvault.com/de/pkg/brew/pytorch/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning, python.
- [hf](https://www.automicvault.com/de/pkg/brew/hf/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [dvc](https://www.automicvault.com/de/pkg/brew/dvc/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [hf-mcp-server](https://www.automicvault.com/de/pkg/brew/hf-mcp-server/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [text-embeddings-inference](https://www.automicvault.com/de/pkg/brew/text-embeddings-inference/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.
- [crf++](https://www.automicvault.com/de/pkg/brew/crf/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning.

## Sources

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