macOS
brew install mlxlocal Homebrew formula metadata
sudo port install mlxMacPorts ports tree · llm/mlx/Portfile · source: api.github.com
brew
Array framework for Apple silicon. Version 0.31.2 via Homebrew; verified 2026-06-25.
install
brew install mlxlocal Homebrew formula metadata
sudo port install mlxMacPorts ports tree · llm/mlx/Portfile · source: api.github.com
overview
Array framework for Apple silicon
history
MLX is Apple's open source array framework for machine learning on Apple silicon. The project is published under the ml-explore organization and is described by Apple and the upstream README as an array framework optimized for Apple silicon and its unified memory architecture. The MLX examples citation credits the initial software suite to Awni Hannun, Jagrit Digani, Angelos Katharopoulos, and Ronan Collobert, with a 2023 citation entry.
Technically, MLX sits in the NumPy, PyTorch, JAX, and ArrayFire family rather than being only a model runner. Its README emphasizes familiar NumPy-like APIs, C, C++, and Swift bindings, PyTorch-like higher-level neural-network and optimizer packages, composable transformations for automatic differentiation and vectorization, lazy computation, dynamic graph construction, CPU/GPU execution, and unified memory so arrays can be operated on across supported devices without explicit transfers.
The framework quickly became the base layer for a cluster of Apple-silicon ML tools: MLX LM for language models, MLX examples for reference implementations across text, image, audio, video, and multimodal models, and community-converted model weights on Hugging Face. LM Studio also shipped an MLX engine for on-device LLM use on Apple-silicon Macs. In package managers, the `mlx` package is the foundation dependency; users install higher-level packages such as `mlx-lm` when they want complete model workflows.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mlx.distributed_config | cli | global executable | |
mlx.launch | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ml-explore/mlx
install metadata
| Package key | brew:mlx |
|---|---|
| Version | 0.31.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mlx |
| 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-06-25T13:37:55+02:00 |
| Pulse | updated |
| Dependencies | python@3.14 |
| Build dependencies | cmake, fmt, nanobind, nlohmann-json, python-setuptools, robin-map |
| Bottle | available (on arm64_sequoia, arm64_sonoma, arm64_tahoe) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mlx |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mlx
sudo port install mlxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.